Class ShardCoordinator.Internal$.State

java.lang.Object
org.apache.pekko.cluster.sharding.ShardCoordinator.Internal$.State
All Implemented Interfaces:
Serializable, ClusterShardingSerializable, scala.Equals, scala.Product
Enclosing class:
ShardCoordinator.Internal$

public final class ShardCoordinator.Internal$.State extends Object implements ClusterShardingSerializable, scala.Product, Serializable
See Also:
  • Method Details

    • empty

      public static org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State empty()
    • apply

      public static org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State apply(scala.collection.immutable.Map<String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<String> unallocatedShards, boolean rememberEntities)
      State of the shard coordinator. Was also used as the persistent state in the old persistent coordinator.
    • apply$default$1

      public static scala.collection.immutable.Map<String,ActorRef> apply$default$1()
    • apply$default$2

      public static scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>> apply$default$2()
    • apply$default$3

      public static scala.collection.immutable.Set<ActorRef> apply$default$3()
    • apply$default$4

      public static scala.collection.immutable.Set<String> apply$default$4()
    • apply$default$5

      public static boolean apply$default$5()
    • unapply

      public static scala.Option<scala.Tuple5<scala.collection.immutable.Map<String,ActorRef>,scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>>,scala.collection.immutable.Set<ActorRef>,scala.collection.immutable.Set<String>,Object>> unapply(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State x$0)
    • shards

      public scala.collection.immutable.Map<String,ActorRef> shards()
    • regions

      public scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>> regions()
    • regionProxies

      public scala.collection.immutable.Set<ActorRef> regionProxies()
    • unallocatedShards

      public scala.collection.immutable.Set<String> unallocatedShards()
    • rememberEntities

      public boolean rememberEntities()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withRememberEntities

      public org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State withRememberEntities(boolean enabled)
    • isEmpty

      public boolean isEmpty()
    • allShards

      public scala.collection.immutable.Set<String> allShards()
    • updated

      public org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State updated(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.DomainEvent event)
    • copy

      public org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State copy(scala.collection.immutable.Map<String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<String> unallocatedShards, boolean rememberEntities)
    • copy$default$1

      public scala.collection.immutable.Map<String,ActorRef> copy$default$1()
    • copy$default$2

      public scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<String>> copy$default$2()
    • copy$default$3

      public scala.collection.immutable.Set<ActorRef> copy$default$3()
    • copy$default$4

      public scala.collection.immutable.Set<String> copy$default$4()
    • copy$default$5

      public boolean copy$default$5()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object