Interface ClusterShardAllocationMixin
- All Known Implementing Classes:
ConsistentHashingShardAllocationStrategy
public interface ClusterShardAllocationMixin
INTERNAL API
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAGoodTimeToRebalance(scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry> regionEntries) scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry>regionEntriesFor(scala.collection.immutable.Map<ActorRef, scala.collection.immutable.IndexedSeq<String>> currentShardAllocations)
-
Method Details
-
clusterState
ClusterEvent.CurrentClusterState clusterState() -
selfMember
Member selfMember() -
isAGoodTimeToRebalance
boolean isAGoodTimeToRebalance(scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry> regionEntries) -
regionEntriesFor
scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry> regionEntriesFor(scala.collection.immutable.Map<ActorRef, scala.collection.immutable.IndexedSeq<String>> currentShardAllocations)
-