Class GarbageCollection
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.gc.GarbageCollection
-
public class GarbageCollection extends Object
GarbageCollection is responsible for creating the gc JSON object- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description GarbageCollectorCyclecurrentCycleGarbageCollectorCyclelastCycle
-
Constructor Summary
Constructors Constructor Description GarbageCollection()GarbageCollection(GcCycleStats last, GcCycleStats current)Creates a new Garbage Collector JSON objectGarbageCollection(GarbageCollectorCycle last, GarbageCollectorCycle current)Creates a new Garbage Collector JSON object
-
-
-
Field Detail
-
lastCycle
public GarbageCollectorCycle lastCycle
-
currentCycle
public GarbageCollectorCycle currentCycle
-
-
Constructor Detail
-
GarbageCollection
public GarbageCollection()
-
GarbageCollection
public GarbageCollection(GcCycleStats last, GcCycleStats current)
Creates a new Garbage Collector JSON object- Parameters:
last- last GC cyclecurrent- current GC cycle
-
GarbageCollection
public GarbageCollection(GarbageCollectorCycle last, GarbageCollectorCycle current)
Creates a new Garbage Collector JSON object- Parameters:
last- last GC cyclecurrent- current GC cycle
-
-
Method Detail
-
getEmpty
public static GarbageCollection getEmpty()
-
-