Class GCDetailsService

java.lang.Object
org.apache.bookkeeper.server.http.service.GCDetailsService
All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService

public class GCDetailsService extends Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle get garbage collection details service.

Get Garbage Collection status, the output would be like: [ { "forceCompacting" : false, "majorCompacting" : false, "minorCompacting" : false, "lastMajorCompactionTime" : 1544578144944, "lastMinorCompactionTime" : 1544578144944, "majorCompactionCounter" : 1, "minorCompactionCounter" : 0 } ]

  • Field Details

  • Constructor Details

  • Method Details

    • handle

      public org.apache.bookkeeper.http.service.HttpServiceResponse handle(org.apache.bookkeeper.http.service.HttpServiceRequest request) throws Exception
      Specified by:
      handle in interface org.apache.bookkeeper.http.service.HttpEndpointService
      Throws:
      Exception