Interface Workers<W extends WorkerService>
- All Known Implementing Classes:
WorkerImpl
public interface Workers<W extends WorkerService>
The service to manage worker.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetAssignments(String clientRole) List<org.apache.pulsar.common.functions.WorkerInfo>getCluster(String clientRole) org.apache.pulsar.common.functions.WorkerInfogetClusterLeader(String clientRole) getDrainStatus(URI uri, String workerId, String clientRole, boolean leaderUri) List<org.apache.pulsar.common.policies.data.WorkerFunctionInstanceStats>getFunctionsMetrics(String clientRole) List<org.apache.pulsar.common.io.ConnectorDefinition>getListOfConnectors(String clientRole) List<org.apache.pulsar.common.stats.Metrics>getWorkerMetrics(String clientRole) isLeaderReady(String clientRole) void
-
Method Details
-
getCluster
-
getClusterLeader
-
getAssignments
-
getWorkerMetrics
-
getFunctionsMetrics
List<org.apache.pulsar.common.policies.data.WorkerFunctionInstanceStats> getFunctionsMetrics(String clientRole) throws IOException - Throws:
IOException
-
getListOfConnectors
-
rebalance
-
drain
-
getDrainStatus
LongRunningProcessStatus getDrainStatus(URI uri, String workerId, String clientRole, boolean leaderUri) -
isLeaderReady
-