Class RecoveryBookieService

  • All Implemented Interfaces:
    org.apache.bookkeeper.http.service.HttpEndpointService

    public class RecoveryBookieService
    extends java.lang.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 Detail

      • LOG

        static final org.slf4j.Logger LOG
      • executor

        protected java.util.concurrent.ExecutorService executor
    • Method Detail

      • handle

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