public final class ConsensusModule extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsensusModule.Configuration
Configuration options for cluster.
|
static class |
ConsensusModule.Context
Programmable overrides for configuring the
ConsensusModule in a cluster. |
static class |
ConsensusModule.State
Possible states for the
ConsensusModule. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ConsensusModule.Context |
context()
Get the
ConsensusModule.Context that is used by this ConsensusModule. |
static ConsensusModule |
launch()
Launch an
ConsensusModule using a default configuration. |
static ConsensusModule |
launch(ConsensusModule.Context ctx)
Launch an
ConsensusModule by providing a configuration context. |
static void |
main(String[] args)
Launch an
ConsensusModule with that communicates with an out of process Archive
and MediaDriver then awaits shutdown signal. |
public static void main(String[] args)
ConsensusModule with that communicates with an out of process Archive
and MediaDriver then awaits shutdown signal.args - command line argument which is a list for properties files as URLs or filenames.public static ConsensusModule launch()
ConsensusModule using a default configuration.ConsensusModule.public static ConsensusModule launch(ConsensusModule.Context ctx)
ConsensusModule by providing a configuration context.ctx - for the configuration parameters.ConsensusModule.public ConsensusModule.Context context()
ConsensusModule.Context that is used by this ConsensusModule.ConsensusModule.Context that is used by this ConsensusModule.public void close()
close in interface AutoCloseableCopyright © 2014-2020 Real Logic Limited. All Rights Reserved.