类的使用
org.apache.pulsar.common.functions.WorkerInfo
-
使用WorkerInfo的程序包 程序包 说明 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. -
-
org.apache.pulsar.client.admin中WorkerInfo的使用
返回WorkerInfo的org.apache.pulsar.client.admin中的方法 修饰符和类型 方法 说明 WorkerInfoWorker. getClusterLeader()Get the worker who is the leader of the cluster.返回变量类型为WorkerInfo的类型的org.apache.pulsar.client.admin中的方法 修饰符和类型 方法 说明 java.util.List<WorkerInfo>Worker. getCluster()Get List of all workers belonging to this cluster.java.util.concurrent.CompletableFuture<java.util.List<WorkerInfo>>Worker. getClusterAsync()Get List of all workers belonging to this cluster asynchronously.java.util.concurrent.CompletableFuture<WorkerInfo>Worker. getClusterLeaderAsync()Get the worker who is the leader of the cluster asynchronously. -
org.apache.pulsar.common.functions中WorkerInfo的使用
返回WorkerInfo的org.apache.pulsar.common.functions中的方法 修饰符和类型 方法 说明 static WorkerInfoWorkerInfo. of(java.lang.String workerId, java.lang.String workerHostname, int port)static WorkerInfoWorkerInfo. parseFrom(java.lang.String str)
-