
public final class RuntimeInfo extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
long |
freeMemory |
long |
maxMemory |
int |
nThreads |
static com.sun.management.OperatingSystemMXBean |
osBean |
double |
processCpuLoad |
static Runtime |
runtime |
double |
systemCpuLoad |
long |
totalMemory |
int |
uptime |
| Constructor and Description |
|---|
RuntimeInfo() |
RuntimeInfo(int uptime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFreeMemory() |
long |
getMaxMemory() |
int |
getNThreads() |
double |
getProcessCpuLoad() |
double |
getSystemCpuLoad() |
long |
getTotalMemory() |
int |
getUptime()
Get the Agent's uptime in milliseconds.
|
public final int nThreads
public final long maxMemory
public final long totalMemory
public final long freeMemory
public final double processCpuLoad
public final double systemCpuLoad
public static transient com.sun.management.OperatingSystemMXBean osBean
public static transient Runtime runtime
public final int uptime
public int getNThreads()
public long getMaxMemory()
public long getTotalMemory()
public long getFreeMemory()
public double getProcessCpuLoad()
public double getSystemCpuLoad()
public int getUptime()
Copyright © 2016 LSST. All rights reserved.