|
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 ClusterTopologyManager
Maintains the list of members and performs rebalance operations.
The RebalancePolicy
actually decides when to perform the rebalance or how to update the
consistent hash.
Method Summary | |
---|---|
CacheTopology |
handleJoin(String cacheName,
Address joiner,
CacheJoinInfo joinInfo,
int viewId)
Updates the members list and notifies the RebalancePolicy . |
void |
handleLeave(String cacheName,
Address leaver,
int viewId)
Updates the members list and notifies the RebalancePolicy |
void |
handleRebalanceCompleted(String cacheName,
Address node,
int topologyId,
Throwable throwable,
int viewId)
Marks the rebalance as complete on the sender. |
void |
triggerRebalance(String cacheName)
Used by RebalancePolicy to start a state transfer. |
Method Detail |
---|
void triggerRebalance(String cacheName) throws Exception
RebalancePolicy
to start a state transfer.
Exception
CacheTopology handleJoin(String cacheName, Address joiner, CacheJoinInfo joinInfo, int viewId) throws Exception
RebalancePolicy
.
Exception
void handleLeave(String cacheName, Address leaver, int viewId) throws Exception
RebalancePolicy
Exception
void handleRebalanceCompleted(String cacheName, Address node, int topologyId, Throwable throwable, int viewId) throws Exception
Exception
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |