| Package | Description |
|---|---|
| de.aristaflow.adept2.core.registry.cluster | |
| de.aristaflow.adept2.model.cluster |
| Modifier and Type | Field and Description |
|---|---|
protected Status |
ClusterNodeState.status
The current status of the cluster node.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
ClusterNodeState.awaitStatus(long timeout,
Status... statuses)
Waits until the cluster node reaches one of the designated statuses or until the designated
timeout elapsed.
|
Status |
ClusterNodeState.getStatus()
Gets the current status of the cluster node without waiting.
|
Status |
ClusterNode.restart(long timeout)
Deprecated.
Sends a restart request to this cluster node and waits the designated time for the restart.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
ClusterNodeState.awaitStatus(long timeout,
Status... statuses)
Waits until the cluster node reaches one of the designated statuses or until the designated
timeout elapsed.
|
| Modifier and Type | Field and Description |
|---|---|
protected Status |
SimpleClusterNodeInformation.status
The status of this cluster node.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
SimpleClusterNodeInformation.getStatus()
Gets the status of this cluster node.
|
static Status |
Status.valueOf(int code)
Gets the status for the corresponding code or
null in case
there is no corresponding status for the designated code. |
static Status |
Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ClusterNodeInformation(java.lang.String clusterName,
java.lang.String nodeName,
java.lang.String nodeAddress,
Status status,
long lastOwnUpdate,
long sinceLastOwnUpdate,
long lastForeignUpdate,
long sinceLastForeignUpdate,
long runningSince,
java.net.URI[] globalRegUris,
java.net.URI[] interNodeCommUris,
long serverLostCommCount)
Creates information for a specific cluster node.
|
SimpleClusterNodeInformation(java.lang.String clusterName,
java.lang.String nodeName,
java.lang.String nodeAddress,
Status status,
long lastOwnUpdate,
long runningSince)
Creates simple information for a specific cluster node.
|