Class StateChangeRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.StateChangeRequest
-
public class StateChangeRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description StateChangeRequest(ChangeGlobalStateMessage msg, BaselineTopologyHistoryItem bltHistItem, ClusterState prevState, AffinityTopologyVersion topVer)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanactivate()Deprecated.Usestate()instead.booleanactiveChanged()@Nullable BaselineTopologybaselineTopology()IgniteUuidid()UUIDinitiatorNodeId()@Nullable BaselineTopologyHistoryItemprevBaselineTopologyHistoryItem()ClusterStateprevState()UUIDrequestId()ClusterStatestate()AffinityTopologyVersiontopologyVersion()StringtoString()
-
-
-
Constructor Detail
-
StateChangeRequest
public StateChangeRequest(ChangeGlobalStateMessage msg, BaselineTopologyHistoryItem bltHistItem, ClusterState prevState, AffinityTopologyVersion topVer)
- Parameters:
msg- Message.bltHistItem- Baseline history item.prevState- Previous cluster state.topVer- State change topology versoin.
-
-
Method Detail
-
topologyVersion
public AffinityTopologyVersion topologyVersion()
- Returns:
- State change exchange version.
-
id
public IgniteUuid id()
- Returns:
- State change message ID.
-
requestId
public UUID requestId()
- Returns:
- State change request ID.
-
activate
@Deprecated public boolean activate()
Deprecated.Usestate()instead.- Returns:
- New state.
-
state
public ClusterState state()
- Returns:
- New cluster state.
-
prevState
public ClusterState prevState()
- Returns:
- Previous cluster state.
-
activeChanged
public boolean activeChanged()
- Returns:
Trueif active state was changed.
-
prevBaselineTopologyHistoryItem
@Nullable public @Nullable BaselineTopologyHistoryItem prevBaselineTopologyHistoryItem()
- Returns:
- Previous baseline topology.
-
baselineTopology
@Nullable public @Nullable BaselineTopology baselineTopology()
- Returns:
- Baseline topology.
-
initiatorNodeId
public UUID initiatorNodeId()
- Returns:
- Node initiated state change process.
-
-