Constructor and Description |
---|
ProcessResourceConsumption() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getCpuReal() |
abstract long |
getCpuSys() |
abstract long |
getCpuTotal() |
abstract long |
getCpuUser() |
abstract long |
getIoBytesRead() |
abstract long |
getIoBytesWritten() |
abstract long |
getIoTotal() |
abstract long |
getMemResident() |
abstract long |
getMemSize() |
static ProcessResourceConsumption |
getPeak(ProcessResourceConsumption r1,
ProcessResourceConsumption r2) |
static ProcessResourceConsumption |
getTotal(ProcessResourceConsumption r1,
ProcessResourceConsumption r2) |
static ProcessResourceConsumption |
of(long memResident,
long memSize,
long cpuReal,
long cpuUser,
long cpuSys,
long cpuTotal,
long ioBytesRead,
long ioBytesWritten,
long ioTotal) |
public abstract long getMemResident()
public abstract long getMemSize()
public abstract long getCpuReal()
public abstract long getCpuUser()
public abstract long getCpuSys()
public abstract long getCpuTotal()
public abstract long getIoBytesRead()
public abstract long getIoBytesWritten()
public abstract long getIoTotal()
@Nullable public static ProcessResourceConsumption getPeak(@Nullable ProcessResourceConsumption r1, @Nullable ProcessResourceConsumption r2)
@Nullable public static ProcessResourceConsumption getTotal(@Nullable ProcessResourceConsumption r1, @Nullable ProcessResourceConsumption r2)
public static ProcessResourceConsumption of(long memResident, long memSize, long cpuReal, long cpuUser, long cpuSys, long cpuTotal, long ioBytesRead, long ioBytesWritten, long ioTotal)