public interface ClusterTopologyManager
RebalancePolicy actually decides when to perform the rebalance or how to update the
consistent hash.| Modifier and Type | Method and Description |
|---|---|
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. |
void triggerRebalance(String cacheName) throws Exception
RebalancePolicy to start a state transfer.ExceptionCacheTopology handleJoin(String cacheName, Address joiner, CacheJoinInfo joinInfo, int viewId) throws Exception
RebalancePolicy.Exceptionvoid handleLeave(String cacheName, Address leaver, int viewId) throws Exception
RebalancePolicyExceptionCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.