Class ClusterInfoService
- java.lang.Object
-
- org.apache.bookkeeper.server.http.service.ClusterInfoService
-
- All Implemented Interfaces:
org.apache.bookkeeper.http.service.HttpEndpointService
public class ClusterInfoService extends java.lang.Object implements org.apache.bookkeeper.http.service.HttpEndpointService
HttpEndpointService that exposes the current info about the cluster of bookies.{ "hasAuditorElected" : true, "auditorId" : "blah", "hasUnderReplicatedLedgers": false, "isLedgerReplicationEnabled": true, "totalBookiesCount": 10, "writableBookiesCount": 6, "readonlyBookiesCount": 3, "unavailableBookiesCount": 1 }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterInfoService.ClusterInfo
POJO definition for the cluster info response.
-
Constructor Summary
Constructors Constructor Description ClusterInfoService(@NonNull BookKeeperAdmin bka, @NonNull LedgerManagerFactory ledgerManagerFactory)
-
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
-
ClusterInfoService
public ClusterInfoService(@NonNull @NonNull BookKeeperAdmin bka, @NonNull @NonNull LedgerManagerFactory ledgerManagerFactory)
-
-