Package akka.cluster.sharding.internal
Class ClusterShardAllocationMixin.ShardSuitabilityOrdering
- java.lang.Object
-
- akka.cluster.sharding.internal.ClusterShardAllocationMixin.ShardSuitabilityOrdering
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Comparator<ClusterShardAllocationMixin.RegionEntry>
,scala.math.Equiv<ClusterShardAllocationMixin.RegionEntry>
,scala.math.Ordering<ClusterShardAllocationMixin.RegionEntry>
,scala.math.PartialOrdering<ClusterShardAllocationMixin.RegionEntry>
- Direct Known Subclasses:
ClusterShardAllocationMixin.ShardSuitabilityOrdering$
- Enclosing interface:
- ClusterShardAllocationMixin
public static class ClusterShardAllocationMixin.ShardSuitabilityOrdering extends java.lang.Object implements scala.math.Ordering<ClusterShardAllocationMixin.RegionEntry>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface scala.math.Equiv
scala.math.Equiv.DeprecatedDoubleEquiv$, scala.math.Equiv.DeprecatedFloatEquiv$
-
Nested classes/interfaces inherited from interface scala.math.Ordering
scala.math.Ordering.BigDecimal$, scala.math.Ordering.BigDecimalOrdering, scala.math.Ordering.BigInt$, scala.math.Ordering.BigIntOrdering, scala.math.Ordering.Boolean$, scala.math.Ordering.BooleanOrdering, scala.math.Ordering.Byte$, scala.math.Ordering.ByteOrdering, scala.math.Ordering.CachedReverse<T extends java.lang.Object>, scala.math.Ordering.Char$, scala.math.Ordering.CharOrdering, scala.math.Ordering.DeprecatedDoubleOrdering$, scala.math.Ordering.DeprecatedFloatOrdering$, scala.math.Ordering.Double$, scala.math.Ordering.ExtraImplicits, scala.math.Ordering.Float$, scala.math.Ordering.Implicits$, scala.math.Ordering.Int$, scala.math.Ordering.IntOrdering, scala.math.Ordering.Long$, scala.math.Ordering.LongOrdering, scala.math.Ordering.OptionOrdering<T extends java.lang.Object>, scala.math.Ordering.OrderingOps, scala.math.Ordering.Short$, scala.math.Ordering.ShortOrdering, scala.math.Ordering.String$, scala.math.Ordering.StringOrdering, scala.math.Ordering.Symbol$, scala.math.Ordering.SymbolOrdering, scala.math.Ordering.Unit$, scala.math.Ordering.UnitOrdering
-
-
Constructor Summary
Constructors Constructor Description ShardSuitabilityOrdering(boolean preferLeastShards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ClusterShardAllocationMixin.RegionEntry x, ClusterShardAllocationMixin.RegionEntry y)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
compare
public int compare(ClusterShardAllocationMixin.RegionEntry x, ClusterShardAllocationMixin.RegionEntry y)
- Specified by:
compare
in interfacejava.util.Comparator<ClusterShardAllocationMixin.RegionEntry>
- Specified by:
compare
in interfacescala.math.Ordering<ClusterShardAllocationMixin.RegionEntry>
-
-