Class TriggerGCService
- java.lang.Object
- 
- org.apache.bookkeeper.server.http.service.TriggerGCService
 
- 
- All Implemented Interfaces:
- org.apache.bookkeeper.http.service.HttpEndpointService
 
 public class TriggerGCService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointServiceHttpEndpointService that handle force trigger GC requests.The PUT method will force trigger GC on current bookie, and make GC run at backend. The GET method will get the force triggered GC running or not. Output would be like: { "is_in_force_gc" : "false" } 
- 
- 
Field SummaryFields Modifier and Type Field Description protected BookieServerbookieServerprotected ServerConfigurationconf(package private) static org.slf4j.LoggerLOG
 - 
Constructor SummaryConstructors Constructor Description TriggerGCService(ServerConfiguration conf, BookieServer bookieServer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.bookkeeper.http.service.HttpServiceResponsehandle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
 
- 
- 
- 
Field Detail- 
LOGstatic final org.slf4j.Logger LOG 
 - 
confprotected ServerConfiguration conf 
 - 
bookieServerprotected BookieServer bookieServer 
 
- 
 - 
Constructor Detail- 
TriggerGCServicepublic TriggerGCService(ServerConfiguration conf, BookieServer bookieServer) 
 
- 
 
-