Class GcInfoUtil
java.lang.Object
com.sun.management.internal.GcInfoUtil
- 
Method Summary
Modifier and TypeMethodDescriptionstatic CompositeTypestatic GcInfonewGcInfoInstance(long index, long startTime, long endTime, Map<String, MemoryUsage> usageBeforeGc, Map<String, MemoryUsage> usageAfterGc) static CompositeDatatoCompositeData(GcInfo info)  
- 
Method Details
- 
getCompositeType
- Returns:
 - an instance of 
CompositeTypefor theGcInfoclass 
 - 
toCompositeData
- Parameters:
 info- the garbage collection information- Returns:
 - a new 
CompositeDatainstance that represents the suppliedinfoobject 
 - 
newGcInfoInstance
public static GcInfo newGcInfoInstance(long index, long startTime, long endTime, Map<String, MemoryUsage> usageBeforeGc, Map<String, MemoryUsage> usageAfterGc) - Parameters:
 index- the identifier of this garbage collection which is the number of collections that this collector has donestartTime- the start time of the collection in milliseconds since the Java virtual machine was started.endTime- the end time of the collection in milliseconds since the Java virtual machine was started.usageBeforeGc- the memory usage of all memory pools at the beginning of this GC.usageAfterGc- the memory usage of all memory pools at the end of this GC.- Returns:
 - a 
GcInfoobject 
 
 -