Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrimaryInitiator

A primary initiator.

This type makes a connection from a primary server (cluster) to a secondary server (or all secondary cluster members) with a SecondaryAcceptor of the same name.

Use a PrimaryInitiatorBuilder to create an instance of this type.

Hierarchy

  • PrimaryInitiator

Index

Properties

Methods

Properties

Optional Readonly connector

connector: undefined | string

The connector that the primary initiator will use to establish a connection between the secondary server and the primary server.

Readonly name

name: string

The name of the remote server.

Readonly type

The remote server type is PRIMARY_INITIATOR

Readonly urls

urls: string[]

The urls for connection to secondary servers.

Methods

getRetryDelay

  • getRetryDelay(): number
  • Gets 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 number

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.