public static class ClusterBackup.Configuration extends Object
ClusterBackup with defaults and constants for system properties lookup.| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_BACKUP_CATCHUP_CHANNEL_DEFAULT
Default channel template used for catchup and replication of log and snapshots.
|
static String |
CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME
Channel template used for catchup and replication of log and snapshots.
|
static String |
CLUSTER_BACKUP_CATCHUP_ENDPOINT_PROP_NAME
Channel template used for catchup and replication of log and snapshots.
|
static long |
CLUSTER_BACKUP_COOL_DOWN_INTERVAL_DEFAULT_NS
Default interval at which the cluster back is re-initialised after an exception has been thrown.
|
static String |
CLUSTER_BACKUP_COOL_DOWN_INTERVAL_PROP_NAME
Interval at which the cluster backup is re-initialised after an exception has been thrown.
|
static long |
CLUSTER_BACKUP_INTERVAL_DEFAULT_NS
Default interval at which a cluster backup will send backup queries.
|
static String |
CLUSTER_BACKUP_INTERVAL_PROP_NAME
Interval at which a cluster backup will send backup queries.
|
static long |
CLUSTER_BACKUP_PROGRESS_TIMEOUT_DEFAULT_NS
Default timeout within which a cluster backup will expect progress.
|
static String |
CLUSTER_BACKUP_PROGRESS_TIMEOUT_PROP_NAME
Timeout within which a cluster backup will expect progress.
|
static long |
CLUSTER_BACKUP_RESPONSE_TIMEOUT_DEFAULT_NS
Default timeout within which a cluster backup will expect a response from a backup query.
|
static String |
CLUSTER_BACKUP_RESPONSE_TIMEOUT_PROP_NAME
Timeout within which a cluster backup will expect a response from a backup query.
|
static String |
CLUSTER_BACKUP_SOURCE_TYPE_DEFAULT
Default source type to receive log traffic from.
|
static String |
CLUSTER_BACKUP_SOURCE_TYPE_PROP_NAME
The source type used for the cluster backup.
|
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
static String |
catchupChannel()
The value
CLUSTER_BACKUP_CATCHUP_CHANNEL_DEFAULT or system property
CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME if set. |
static String |
catchupEndpoint()
The value of system property
CLUSTER_BACKUP_CATCHUP_ENDPOINT_PROP_NAME if set, otherwise it will
try to derive the catchup endpoint from ConsensusModule.Configuration.clusterMembers() and
ConsensusModule.Configuration.clusterMemberId(). |
static long |
clusterBackupCoolDownIntervalNs()
Interval at which the cluster backup is re-initialised after an exception has been thrown.
|
static long |
clusterBackupIntervalNs()
Interval at which a cluster backup will send backup queries.
|
static long |
clusterBackupProgressTimeoutNs()
Timeout within which a cluster backup will expect progress.
|
static long |
clusterBackupResponseTimeoutNs()
Timeout within which a cluster backup will expect a response from a backup query.
|
static String |
clusterBackupSourceType()
Returns the string representation of the
ClusterBackup.SourceType that this backup instance will use depending on
the value of the CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME system property if set or
CLUSTER_BACKUP_SOURCE_TYPE_DEFAULT if not. |
static String |
consensusChannel()
The value of system property
ConsensusModule.Configuration.consensusChannel() if set. |
public static final String CLUSTER_BACKUP_CATCHUP_ENDPOINT_PROP_NAME
public static final String CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME
public static final String CLUSTER_BACKUP_CATCHUP_CHANNEL_DEFAULT
public static final String CLUSTER_BACKUP_INTERVAL_PROP_NAME
public static final long CLUSTER_BACKUP_INTERVAL_DEFAULT_NS
public static final String CLUSTER_BACKUP_RESPONSE_TIMEOUT_PROP_NAME
public static final long CLUSTER_BACKUP_RESPONSE_TIMEOUT_DEFAULT_NS
public static final String CLUSTER_BACKUP_PROGRESS_TIMEOUT_PROP_NAME
public static final String CLUSTER_BACKUP_COOL_DOWN_INTERVAL_PROP_NAME
public static final long CLUSTER_BACKUP_COOL_DOWN_INTERVAL_DEFAULT_NS
public static final long CLUSTER_BACKUP_PROGRESS_TIMEOUT_DEFAULT_NS
public static final String CLUSTER_BACKUP_SOURCE_TYPE_PROP_NAME
ClusterBackup.SourceType enum values.public static final String CLUSTER_BACKUP_SOURCE_TYPE_DEFAULT
public static String catchupEndpoint()
CLUSTER_BACKUP_CATCHUP_ENDPOINT_PROP_NAME if set, otherwise it will
try to derive the catchup endpoint from ConsensusModule.Configuration.clusterMembers() and
ConsensusModule.Configuration.clusterMemberId(). Failing that null will be returned.CLUSTER_BACKUP_CATCHUP_ENDPOINT_PROP_NAME, the derived value, or null.public static String catchupChannel()
CLUSTER_BACKUP_CATCHUP_CHANNEL_DEFAULT or system property
CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME if set.CLUSTER_BACKUP_CATCHUP_CHANNEL_DEFAULT or system property
CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME if set.public static String consensusChannel()
ConsensusModule.Configuration.consensusChannel() if set. If that channel
does not have an endpoint set, then this will try to derive one using
ConsensusModule.Configuration.clusterMembers() and
ConsensusModule.Configuration.clusterMemberId().CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME, the derived value, or null.public static long clusterBackupIntervalNs()
CLUSTER_BACKUP_INTERVAL_PROP_NAMEpublic static long clusterBackupResponseTimeoutNs()
CLUSTER_BACKUP_RESPONSE_TIMEOUT_PROP_NAMEpublic static long clusterBackupProgressTimeoutNs()
CLUSTER_BACKUP_PROGRESS_TIMEOUT_PROP_NAMEpublic static long clusterBackupCoolDownIntervalNs()
CLUSTER_BACKUP_COOL_DOWN_INTERVAL_PROP_NAMEpublic static String clusterBackupSourceType()
ClusterBackup.SourceType that this backup instance will use depending on
the value of the CLUSTER_BACKUP_CATCHUP_CHANNEL_PROP_NAME system property if set or
CLUSTER_BACKUP_SOURCE_TYPE_DEFAULT if not.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.