Package akka.cluster.sharding.internal
Interface ClusterShardAllocationMixin
-
- All Known Implementing Classes:
ConsistentHashingShardAllocationStrategy
,SliceRangeShardAllocationStrategy
public interface ClusterShardAllocationMixin
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClusterShardAllocationMixin.RegionEntry
static class
ClusterShardAllocationMixin.RegionEntry$
static class
ClusterShardAllocationMixin.ShardSuitabilityOrdering
static class
ClusterShardAllocationMixin.ShardSuitabilityOrdering$
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterEvent.CurrentClusterState
clusterState()
boolean
isAGoodTimeToRebalance(scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry> regionEntries)
scala.collection.Iterable<ClusterShardAllocationMixin.RegionEntry>
regionEntriesFor(scala.collection.immutable.Map<ActorRef,scala.collection.immutable.IndexedSeq<java.lang.String>> currentShardAllocations)
Member
selfMember()
-
-
-
Method Detail
-
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<java.lang.String>> currentShardAllocations)
-
-