Class BrokerStatsImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.BrokerStatsImpl
- All Implemented Interfaces:
BrokerStats
Pulsar Admin API client.
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionBrokerStatsImpl(javax.ws.rs.client.WebTarget target, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptiongetAllocatorStats(String allocatorName) getAllocatorStatsAsync(String allocatorName) com.google.gson.JsonObjectgetBrokerResourceAvailability(String namespace) Methods inherited from class org.apache.pulsar.client.admin.internal.BaseResource
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncPostRequest, asyncPostRequestWithResponse, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsync, sync
-
Constructor Details
-
BrokerStatsImpl
public BrokerStatsImpl(javax.ws.rs.client.WebTarget target, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
getMetrics
- Specified by:
getMetricsin interfaceBrokerStats- Throws:
PulsarAdminException
-
getMetricsAsync
- Specified by:
getMetricsAsyncin interfaceBrokerStats
-
getAllocatorStats
- Specified by:
getAllocatorStatsin interfaceBrokerStats- Throws:
PulsarAdminException
-
getAllocatorStatsAsync
- Specified by:
getAllocatorStatsAsyncin interfaceBrokerStats
-
getMBeans
- Specified by:
getMBeansin interfaceBrokerStats- Throws:
PulsarAdminException
-
getMBeansAsync
- Specified by:
getMBeansAsyncin interfaceBrokerStats
-
getTopics
- Specified by:
getTopicsin interfaceBrokerStats- Throws:
PulsarAdminException
-
getTopicsAsync
- Specified by:
getTopicsAsyncin interfaceBrokerStats
-
getLoadReport
- Specified by:
getLoadReportin interfaceBrokerStats- Throws:
PulsarAdminException
-
getLoadReportAsync
- Specified by:
getLoadReportAsyncin interfaceBrokerStats
-
getPendingBookieOpsStats
- Specified by:
getPendingBookieOpsStatsin interfaceBrokerStats- Throws:
PulsarAdminException
-
getPendingBookieOpsStatsAsync
- Specified by:
getPendingBookieOpsStatsAsyncin interfaceBrokerStats
-
getBrokerResourceAvailability
public com.google.gson.JsonObject getBrokerResourceAvailability(String namespace) throws PulsarAdminException - Throws:
PulsarAdminException
-