Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrimaryInitiatorBuilder

Builder for a PrimaryInitiator.

A builder of this type may be created using newRemoteServerBuilder specifying {@code RemoteServerType.PRIMARY_INITIATOR} as the parameter.

Hierarchy

Index

Methods

build

  • Builds a primary initiator using the current values known to this builder.

    Parameters

    • name: string

      the name of a primary initiator which must correspond too the name of a SecondaryAcceptor defined on the secondary server.

    • urls: string[]

      the list of URLs to use to initiate connections to the secondary servers.

    • connector: string

      the name of the connector used to establish the connection with the secondary server.

    Returns RemoteServerDefinition

    a new primary initiator instance.

reset

retryDelay

  • Specifies the delay after losing a connection before attempting a reconnection.

    The value is specified in milliseconds. Default 1000 (1 second).

    Parameters

    • delay: number

    Returns PrimaryInitiatorBuilder