public class NodeControl extends Object
NodeControl.ToggleStates for a cluster node such as NodeControl.ToggleState.REPLICATE_STANDBY_SNAPSHOT.
This can only be applied to individual nodes and does not apply across the cluster.| Modifier and Type | Class and Description |
|---|---|
static class |
NodeControl.ToggleState
Toggle states for controlling the cluster node once it has entered the active state after initialising.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTROL_TOGGLE_TYPE_ID
Counter type id for the control toggle.
|
| Constructor and Description |
|---|
NodeControl() |
| Modifier and Type | Method and Description |
|---|---|
static AtomicCounter |
findControlToggle(CountersReader counters,
int clusterId)
Find the control toggle counter or return null if not found.
|
static void |
main(String[] args)
Main method for launching the process.
|
public static final int CONTROL_TOGGLE_TYPE_ID
public static AtomicCounter findControlToggle(CountersReader counters, int clusterId)
counters - to search within.clusterId - to which the allocated counter belongs.public static void main(String[] args)
args - passed to the process.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.