Interface RemoteServers.PrimaryInitiator

All Superinterfaces:
RemoteServers.RemoteServer
Enclosing interface:
RemoteServers

public static interface RemoteServers.PrimaryInitiator extends RemoteServers.RemoteServer
A primary initiator.

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.

  • Method Details

    • getUrls

      List<String> getUrls()
      Returns the urls for connection to secondary servers.
      Returns:
      the list of urls for connection to secondary servers
    • getConnector

      String getConnector()
      Returns the connector that the primary initiator will use to establish a connection between the secondary server and the primary server.
      Returns:
      the connector name
    • getRetryDelay

      int getRetryDelay()
      Returns the interval in milliseconds between connection retries.

      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.

      Returns:
      the retry delay time in milliseconds