| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.common.functions |
Implementation of policies.
|
| Modifier and Type | Method and Description |
|---|---|
WorkerInfo |
Worker.getClusterLeader()
Get the worker who is the leader of the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
List<WorkerInfo> |
Worker.getCluster()
Get List of all workers belonging to this cluster.
|
CompletableFuture<List<WorkerInfo>> |
Worker.getClusterAsync()
Get List of all workers belonging to this cluster asynchronously.
|
CompletableFuture<WorkerInfo> |
Worker.getClusterLeaderAsync()
Get the worker who is the leader of the cluster asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkerInfo |
WorkerInfo.of(String workerId,
String workerHostname,
int port) |
static WorkerInfo |
WorkerInfo.parseFrom(String str) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.