@PrivateApi public enum NodeState extends Enum<NodeState>
Nodeduring its lifecycle. Some actions/operations may be allowed or denied according to current state of the
|Enum Constant and Description|
Initial state of the Node.
Node can go into the
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final NodeState ACTIVE
public static final NodeState PASSIVE
PASSIVEwhen one of the following things happen:
Node.shutdown(boolean)is called, until the shut down process is completed. When the shut down process is completed, node goes into the
PASSIVEstate, all operations will be rejected except operations marked as
ReadonlyOperation, join operations of some members that are explained in
ClusterState, replication / migration operations and heartbeat operations. Operations those are to be allowed during
PASSIVEstate should be marked as
public static NodeState values()
for (NodeState c : NodeState.values()) System.out.println(c);
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.