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.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
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.