Class BookieInfoService

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

public class BookieInfoService extends Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that exposes the current info of the bookie.
 
 {
  "freeSpace" : 0,
  "totalSpace" : 0
 }
 
 
  • Constructor Details

    • BookieInfoService

      public BookieInfoService(@NonNull @NonNull Bookie bookie)
  • 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