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 Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService 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 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