public class ClusterBackupMediaDriver extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
Archive |
archive()
Get the
Archive used in the aggregate. |
void |
close() |
ClusterBackup |
clusterBackup()
Get the
ClusterBackup used in the aggregate. |
static ClusterBackupMediaDriver |
launch()
Launch a new
ClusterBackupMediaDriver with default contexts. |
static ClusterBackupMediaDriver |
launch(MediaDriver.Context driverCtx,
Archive.Context archiveCtx,
ClusterBackup.Context clusterBackupCtx)
Launch a new
ClusterBackupMediaDriver with provided contexts. |
static void |
main(String[] args)
Launch the cluster backup media driver aggregate and await a shutdown signal.
|
MediaDriver |
mediaDriver()
Get the
MediaDriver used in the aggregate. |
public static void main(String[] args)
args - command line argument which is a list for properties files as URLs or filenames.public static ClusterBackupMediaDriver launch()
ClusterBackupMediaDriver with default contexts.ClusterBackupMediaDriver with default contexts.public static ClusterBackupMediaDriver launch(MediaDriver.Context driverCtx, Archive.Context archiveCtx, ClusterBackup.Context clusterBackupCtx)
ClusterBackupMediaDriver with provided contexts.driverCtx - for configuring the MediaDriver.archiveCtx - for configuring the Archive.clusterBackupCtx - for the configuration of the ClusterBackup.ClusterBackupMediaDriver with the provided contexts.public MediaDriver mediaDriver()
MediaDriver used in the aggregate.MediaDriver used in the aggregate.public Archive archive()
Archive used in the aggregate.Archive used in the aggregate.public ClusterBackup clusterBackup()
ClusterBackup used in the aggregate.ClusterBackup used in the aggregate.public void close()
close in interface AutoCloseableCopyright © 2014-2020 Real Logic Limited. All Rights Reserved.