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 Summary
FieldsModifier and TypeFieldDescriptionprotected ServerConfiguration(package private) static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringgetReadable(long val) org.apache.bookkeeper.http.service.HttpServiceResponsehandle(org.apache.bookkeeper.http.service.HttpServiceRequest request)
-
Field Details
-
LOG
static final org.slf4j.Logger LOG -
conf
-
-
Constructor Details
-
ListBookieInfoService
-
-
Method Details