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 java.lang.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 Summary
Fields Modifier and Type Field Description protected BookieServer
bookieServer
protected ServerConfiguration
conf
(package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description GCDetailsService(ServerConfiguration conf, BookieServer bookieServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bookkeeper.http.service.HttpServiceResponse
handle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
-
-
Field Detail
-
LOG
static final org.slf4j.Logger LOG
-
conf
protected ServerConfiguration conf
-
bookieServer
protected BookieServer bookieServer
-
-
Constructor Detail
-
GCDetailsService
public GCDetailsService(ServerConfiguration conf, BookieServer bookieServer)
-
-