|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateTransferManager
A component that manages the state transfer when the topology of the cluster changes.
Method Summary | |
---|---|
void |
forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin,
boolean sync)
If there is an state transfer happening at the moment, this method forwards the supplied command to the nodes that are new owners of the data, in order to assure consistency. |
CacheTopology |
getCacheTopology()
|
boolean |
isJoinComplete()
|
boolean |
isLocalNodeFirst()
|
boolean |
isStateTransferInProgress()
Checks if an inbound state transfer is in progress. |
boolean |
isStateTransferInProgressForKey(Object key)
Checks if an inbound state transfer is in progress for a given key. |
void |
notifyEndOfTopologyUpdate(int topologyId)
|
void |
start()
|
void |
stop()
|
Method Detail |
---|
boolean isJoinComplete()
boolean isStateTransferInProgress()
boolean isStateTransferInProgressForKey(Object key)
key
-
CacheTopology getCacheTopology()
void start() throws Exception
Exception
void stop()
boolean isLocalNodeFirst()
true
if the local node was the first to start this cache in the cluster.void forwardCommandIfNeeded(TopologyAffectedCommand command, Set<Object> affectedKeys, Address origin, boolean sync)
void notifyEndOfTopologyUpdate(int topologyId)
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |