Class RuntimeMemory.Sample
java.lang.Object
io.deephaven.engine.table.impl.util.RuntimeMemory.Sample
- Enclosing class:
- RuntimeMemory
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongWhat is the last free memory value we retrieved from theRuntime.freeMemory().longThe total number of GC collections since program start.longThe approximated total time of GC collections since program start, in milliseconds.longWhat is the last total memory value we retrieved from theRuntime.totalMemory(). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()longHow much heap memory is used according to this sample.
-
Field Details
-
freeMemory
public long freeMemoryWhat is the last free memory value we retrieved from theRuntime.freeMemory(). -
totalMemory
public long totalMemoryWhat is the last total memory value we retrieved from theRuntime.totalMemory(). -
totalCollections
public long totalCollectionsThe total number of GC collections since program start. The sum ofGarbageCollectorMXBean.getCollectionCount(). -
totalCollectionTimeMs
public long totalCollectionTimeMsThe approximated total time of GC collections since program start, in milliseconds. The sum of theGarbageCollectorMXBean.getCollectionTime().
-
-
Constructor Details
-
Sample
public Sample()
-
-
Method Details