public class ProfSnapshotDto extends Object
ProfSnapshot
.Modifier and Type | Field and Description |
---|---|
List<GarbageCollectorInfoDto> |
garbageCollectors
Representation of garbage collector states.
|
MemoryUsageDescDto |
heapMemoryUsage
Heap memory usage.
|
long |
heapMemoryUsed
Used heap memory.
|
List<MemoryPoolInfoDto> |
memoryPools
Representation of the states of the memory pools.
|
MemoryUsageDescDto |
nonHeapMemoryUsage
Non-heap memory usage.
|
long |
nonHeapMemoryUsed
Used non-heap memory.
|
int |
objectPendingFinalizationCount
Approximate number of objects pending finalization.
|
double |
systemLoadAverage
System load average.
|
long |
timestamp
System time snapshot.
|
long |
totalCollectionCount
Sum of collection counts.
|
long |
totalCollectionTime
Sum of collection times.
|
long |
totalCompilationTime
Total compilation time.
|
Constructor and Description |
---|
ProfSnapshotDto()
Construct snapshot.
|
public long timestamp
System.currentTimeMillis()
public long heapMemoryUsed
MemoryUsage.getUsed()
of MemoryMXBean.getHeapMemoryUsage()
of
ManagementFactory.getMemoryMXBean()
.public MemoryUsageDescDto heapMemoryUsage
MemoryMXBean.getHeapMemoryUsage()
of ManagementFactory.getMemoryMXBean()
.public long nonHeapMemoryUsed
MemoryUsage.getUsed()
of MemoryMXBean.getNonHeapMemoryUsage()
of
ManagementFactory.getMemoryMXBean()
.public MemoryUsageDescDto nonHeapMemoryUsage
MemoryMXBean.getNonHeapMemoryUsage()
of ManagementFactory.getMemoryMXBean()
.public int objectPendingFinalizationCount
MemoryMXBean.getObjectPendingFinalizationCount()
of
ManagementFactory.getMemoryMXBean()
.public List<GarbageCollectorInfoDto> garbageCollectors
ManagementFactory.getGarbageCollectorMXBeans()
.public long totalCollectionCount
GarbageCollectorMXBean.getCollectionCount()
of all garbage collectors (returned by
ManagementFactory.getGarbageCollectorMXBeans()
) which support this attribute.public long totalCollectionTime
GarbageCollectorMXBean.getCollectionTime()
of all garbage collectors (returned by
ManagementFactory.getGarbageCollectorMXBeans()
) which support this attribute.public long totalCompilationTime
CompilationMXBean.getTotalCompilationTime()
when it is supported.public List<MemoryPoolInfoDto> memoryPools
ManagementFactory.getMemoryPoolMXBeans()
.public double systemLoadAverage
OperatingSystemMXBean#getSystemLoadAverage()
.