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 Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.Set<String>static org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.Stateapply(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.static scala.collection.immutable.Set<ActorRef>static scala.collection.immutable.Set<String>static booleanbooleanorg.apache.pekko.cluster.sharding.ShardCoordinator.Internal.Statecopy(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) scala.collection.immutable.Set<ActorRef>scala.collection.immutable.Set<String>booleanstatic org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.Stateempty()booleaninthashCode()booleanisEmpty()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>scala.collection.immutable.Set<ActorRef>regions()booleanshards()toString()scala.collection.immutable.Set<String>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) org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.Stateupdated(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.DomainEvent event) org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.StatewithRememberEntities(boolean enabled) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
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
-
apply$default$2
-
apply$default$3
-
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>, unapplyscala.collection.immutable.Map<ActorRef, scala.collection.immutable.Vector<String>>, scala.collection.immutable.Set<ActorRef>, scala.collection.immutable.Set<String>, Object>> (org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State x$0) -
shards
-
regions
-
regionProxies
-
unallocatedShards
-
rememberEntities
public boolean rememberEntities() -
toString
-
withRememberEntities
public org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State withRememberEntities(boolean enabled) -
isEmpty
public boolean isEmpty() -
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
-
copy$default$2
-
copy$default$3
-
copy$default$4
-
copy$default$5
public boolean copy$default$5() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
equals
-