Package | Description |
---|---|
com.hazelcast.cluster |
This package contains the cluster functionality.
|
com.hazelcast.core |
Provides core API interfaces/classes.
|
com.hazelcast.instance |
This package contains Hazelcast Instance functionality.
|
com.hazelcast.monitor |
Contains Hazelcast statistics interfaces related to map, queue, topic, multimap, executor service etc.
|
Modifier and Type | Method and Description |
---|---|
static ClusterState |
ClusterState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterState[] |
ClusterState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ClusterState |
Cluster.getClusterState()
Returns the state of the cluster.
|
Modifier and Type | Method and Description |
---|---|
void |
Cluster.changeClusterState(ClusterState newState)
Changes state of the cluster to the given state transactionally.
|
void |
Cluster.changeClusterState(ClusterState newState,
TransactionOptions transactionOptions)
Changes state of the cluster to the given state transactionally.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeExtension.afterClusterStateChange(ClusterState oldState,
ClusterState newState,
boolean isTransient)
Called after the cluster state change transaction has completed
(successfully or otherwise).
|
void |
DefaultNodeExtension.afterClusterStateChange(ClusterState oldState,
ClusterState newState,
boolean isTransient) |
void |
NodeExtension.beforeClusterStateChange(ClusterState currState,
ClusterState requestedState,
boolean isTransient)
Called before starting a cluster state change transaction.
|
void |
DefaultNodeExtension.beforeClusterStateChange(ClusterState currState,
ClusterState requestedState,
boolean isTransient) |
void |
NodeExtension.onClusterStateChange(ClusterState newState,
boolean isTransient)
Called during the commit phase of the cluster state change transaction,
just after updating the value of the cluster state on the local member,
while still holding the cluster lock.
|
void |
DefaultNodeExtension.onClusterStateChange(ClusterState newState,
boolean isTransient) |
void |
NodeExtension.onInitialClusterState(ClusterState initialState)
Called when initial cluster state is received while joining the cluster.
|
void |
DefaultNodeExtension.onInitialClusterState(ClusterState initialState) |
Modifier and Type | Method and Description |
---|---|
ClusterState |
NodeState.getClusterState() |
Copyright © 2019 Hazelcast, Inc.. All rights reserved.