@ThreadSafe public interface MasterInquireClient
Modifier and Type | Interface and Description |
---|---|
static interface |
MasterInquireClient.ConnectDetails
Interface for representing master inquire connect details.
|
static class |
MasterInquireClient.Factory
Factory for getting a master inquire client.
|
Modifier and Type | Method and Description |
---|---|
MasterInquireClient.ConnectDetails |
getConnectDetails()
Returns canonical connect details representing how this client connects to the master.
|
List<InetSocketAddress> |
getMasterRpcAddresses() |
InetSocketAddress |
getPrimaryRpcAddress() |
InetSocketAddress getPrimaryRpcAddress() throws UnavailableException
UnavailableException
- if the primary rpc address cannot be determinedList<InetSocketAddress> getMasterRpcAddresses() throws UnavailableException
UnavailableException
- if the master rpc addresses cannot be determinedMasterInquireClient.ConnectDetails getConnectDetails()
Copyright © 2023. All Rights Reserved.