Class ListBookieInfoService

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

public class ListBookieInfoService extends Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that handle Bookkeeper list bookie info related http request.

The GET method will get the disk usage of all bookies in this bookkeeper cluster. Output would be like this: { "bookieAddress" : {free: xxx, total: xxx}", "bookieAddress" : {free: xxx, total: xxx}, ... "clusterInfo" : {total_free: xxx, total: xxx}" }

  • Field Details

  • Constructor Details

  • Method Details

    • getReadable

      String getReadable(long val)
    • 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