Package org.plumelib.util
Class SystemPlume.GcHistoryItem
java.lang.Object
org.plumelib.util.SystemPlume.GcHistoryItem
- Enclosing class:
- SystemPlume
A triple of (timestamp, collection time, subsequent timestamp).
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) longThe cumulative collection time in milliseconds.(package private) longWhen the subsequent collection happened.(package private) longWhen the collection happened. -
Constructor Summary
ConstructorsConstructorDescriptionGcHistoryItem(long timestamp, long collectionTime) Creates a new GcHistoryItem. -
Method Summary
-
Field Details
-
timestamp
long timestampWhen the collection happened. An epoch second. -
collectionTime
long collectionTimeThe cumulative collection time in milliseconds. -
subsequentTimestamp
long subsequentTimestampWhen the subsequent collection happened. It is 0 until after the subsequent collection occurs. The purpose of this field is to avoid the need for apeek2()method on deque.
-
-
Constructor Details
-
GcHistoryItem
GcHistoryItem(long timestamp, long collectionTime) Creates a new GcHistoryItem.- Parameters:
timestamp- when the collection happened; an epoch secondcollectionTime- the collection time in milliseconds
-