public static interface RemoteServers.PrimaryInitiator extends RemoteServers.RemoteServer
This type makes a connection from a primary server (cluster) to a
secondary server (or all secondary cluster members) with an
RemoteServers.SecondaryAcceptor
of the same name.
Use a RemoteServers.PrimaryInitiator.PrimaryInitiatorBuilder
to create an instance of this type.
Modifier and Type | Interface and Description |
---|---|
static interface |
RemoteServers.PrimaryInitiator.PrimaryInitiatorBuilder
Builder for a
RemoteServers.PrimaryInitiator . |
RemoteServers.RemoteServer.Builder, RemoteServers.RemoteServer.ConnectionOption, RemoteServers.RemoteServer.RemoteServerBuilder<B>, RemoteServers.RemoteServer.Type
Modifier and Type | Method and Description |
---|---|
String |
getConnector()
Returns the connector that the primary initiator will use to
establish a connection between the secondary server and the primary
server.
|
int |
getRetryDelay()
Returns the interval in milliseconds between connection retries.
|
List<String> |
getUrls()
Returns the urls for connection to secondary servers.
|
getConnectionOptions, getMissingTopicNotificationFilter, getName, getPrincipal, getType, getUrl
List<String> getUrls()
String getConnector()
int getRetryDelay()
If a primary initiator cannot connect to a secondary server, or loses the connection, this is the amount of time before it will try to connect again.
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.