Class BookieSanityService

  • All Implemented Interfaces:

    public class BookieSanityService
    extends java.lang.Object
    implements org.apache.bookkeeper.http.service.HttpEndpointService
    HttpEndpointService that exposes the bookie sanity state.

    Get the current bookie sanity response:

      "passed" : true,
      "readOnly" : false
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BookieSanityService.BookieSanity
      POJO definition for the bookie sanity response.
    • Field Summary

      Modifier and Type Field Description
      (package private) static org.slf4j.Logger LOG  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        static final org.slf4j.Logger LOG
    • 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