Class BookieSanityService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.BookieSanityService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
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
Fields Modifier and Type Field Description (package private) static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description BookieSanityService(ServerConfiguration config)
-
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)
-
-
-
Constructor Detail
-
BookieSanityService
public BookieSanityService(ServerConfiguration config)
-
-