public final class ClusterBackup extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterBackup.Configuration
Configuration options for
ClusterBackup with defaults and constants for system properties lookup. |
static class |
ClusterBackup.Context
Context for overriding default configuration for
ClusterBackup. |
static class |
ClusterBackup.State
State of the cluster backup state machine.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKUP_STATE_TYPE_ID
The type id of the
Counter used for the backup state. |
static int |
CLUSTER_BACKUP_ERROR_COUNT_TYPE_ID
The type id of the
Counter used for keeping track of the number of errors that have occurred. |
static int |
LIVE_LOG_POSITION_TYPE_ID
The type id of the
Counter used for the live log position counter. |
static int |
QUERY_DEADLINE_TYPE_ID
The type id of the
Counter used for the next query deadline counter. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AgentInvoker |
conductorAgentInvoker()
Get the
AgentInvoker for the cluster backup. |
ClusterBackup.Context |
context()
Get the
ClusterBackup.Context that is used by this ClusterBackup. |
static ClusterBackup |
launch()
Launch an
ClusterBackup using a default configuration. |
static ClusterBackup |
launch(ClusterBackup.Context ctx)
Launch an
ClusterBackup by providing a configuration context. |
public static final int BACKUP_STATE_TYPE_ID
Counter used for the backup state.public static final int LIVE_LOG_POSITION_TYPE_ID
Counter used for the live log position counter.public static final int QUERY_DEADLINE_TYPE_ID
Counter used for the next query deadline counter.public static final int CLUSTER_BACKUP_ERROR_COUNT_TYPE_ID
Counter used for keeping track of the number of errors that have occurred.public static ClusterBackup launch()
ClusterBackup using a default configuration.ClusterBackup.public static ClusterBackup launch(ClusterBackup.Context ctx)
ClusterBackup by providing a configuration context.ctx - for the configuration parameters.ClusterBackup.public ClusterBackup.Context context()
ClusterBackup.Context that is used by this ClusterBackup.ClusterBackup.Context that is used by this ClusterBackup.public AgentInvoker conductorAgentInvoker()
AgentInvoker for the cluster backup.AgentInvoker for the cluster backup.public void close()
close in interface AutoCloseableCopyright © 2014-2020 Real Logic Limited. All Rights Reserved.