Class GarbageCollectorResource
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.gc.GarbageCollectorResource
-
@Path("/gc") @Produces({"application/json","application/xml"}) public class GarbageCollectorResource extends ObjectGarbageCollector metrics- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description GarbageCollectorResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GarbageCollectorCyclegetCurrentCycle()Generates current file gc objectGarbageCollectorCyclegetCurrentWalCycle()Generates current wal objectGarbageCollectiongetFileStatus()Generates current and last file gc objectGarbageCollectorCyclegetLastCycle()Generates last file gc objectGarbageCollectorCyclegetLastWalCycle()Generates last wal objectGarbageCollectorStatusgetStatus()Returns the garbage collector statusGarbageCollectiongetWalStatus()Generates wal gc object
-
-
-
Method Detail
-
getStatus
@GET public GarbageCollectorStatus getStatus()
Returns the garbage collector status- Returns:
- garbage collector status
-
getFileStatus
@Path("files") @GET public GarbageCollection getFileStatus()Generates current and last file gc object- Returns:
- file gc object
-
getLastCycle
@Path("files/last") @GET public GarbageCollectorCycle getLastCycle()Generates last file gc object- Returns:
- last file gc object
-
getCurrentCycle
@Path("files/current") @GET public GarbageCollectorCycle getCurrentCycle()Generates current file gc object- Returns:
- current file gc object
-
getWalStatus
@Path("wals") @GET public GarbageCollection getWalStatus()Generates wal gc object- Returns:
- wal gc object
-
getLastWalCycle
@Path("wals/last") @GET public GarbageCollectorCycle getLastWalCycle()Generates last wal object- Returns:
- last wal object
-
getCurrentWalCycle
@Path("wals/current") @GET public GarbageCollectorCycle getCurrentWalCycle()Generates current wal object- Returns:
- current wal object
-
-