Class RecoveryBookieService

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

public class RecoveryBookieService extends Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper recovery related http request.

The PUT method will recovery bookie with provided parameter. The parameter of input body should be like this format: { "bookie_src": [ "bookie_src1", "bookie_src2"... ], "delete_cookie": <bool_value> }

  • 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