Class WorkerImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.WorkerImpl
- All Implemented Interfaces:
Worker
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionWorkerImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionvoidMethods 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
-
WorkerImpl
public WorkerImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
getFunctionsStats
- Specified by:
getFunctionsStatsin interfaceWorker- Throws:
PulsarAdminException
-
getFunctionsStatsAsync
- Specified by:
getFunctionsStatsAsyncin interfaceWorker
-
getMetrics
- Specified by:
getMetricsin interfaceWorker- Throws:
PulsarAdminException
-
getMetricsAsync
- Specified by:
getMetricsAsyncin interfaceWorker
-
getCluster
- Specified by:
getClusterin interfaceWorker- Throws:
PulsarAdminException
-
getClusterAsync
- Specified by:
getClusterAsyncin interfaceWorker
-
getClusterLeader
- Specified by:
getClusterLeaderin interfaceWorker- Throws:
PulsarAdminException
-
getClusterLeaderAsync
- Specified by:
getClusterLeaderAsyncin interfaceWorker
-
getAssignments
- Specified by:
getAssignmentsin interfaceWorker- Throws:
PulsarAdminException
-
getAssignmentsAsync
- Specified by:
getAssignmentsAsyncin interfaceWorker
-
rebalance
- Specified by:
rebalancein interfaceWorker- Throws:
PulsarAdminException
-
rebalanceAsync
- Specified by:
rebalanceAsyncin interfaceWorker
-