Class ShardCoordinator.Internal$.State
- java.lang.Object
-
- org.apache.pekko.cluster.sharding.ShardCoordinator.Internal$.State
-
- All Implemented Interfaces:
java.io.Serializable
,ClusterShardingSerializable
,scala.Equals
,scala.Product
- Enclosing class:
- ShardCoordinator.Internal$
public final class ShardCoordinator.Internal$.State extends java.lang.Object implements ClusterShardingSerializable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Set<java.lang.String>
allShards()
static org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State
apply(scala.collection.immutable.Map<java.lang.String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<java.lang.String> unallocatedShards, boolean rememberEntities)
State of the shard coordinator.static scala.collection.immutable.Map<java.lang.String,ActorRef>
apply$default$1()
static scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>>
apply$default$2()
static scala.collection.immutable.Set<ActorRef>
apply$default$3()
static scala.collection.immutable.Set<java.lang.String>
apply$default$4()
static boolean
apply$default$5()
boolean
canEqual(java.lang.Object x$1)
org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State
copy(scala.collection.immutable.Map<java.lang.String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<java.lang.String> unallocatedShards, boolean rememberEntities)
scala.collection.immutable.Map<java.lang.String,ActorRef>
copy$default$1()
scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>>
copy$default$2()
scala.collection.immutable.Set<ActorRef>
copy$default$3()
scala.collection.immutable.Set<java.lang.String>
copy$default$4()
boolean
copy$default$5()
static org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State
empty()
boolean
equals(java.lang.Object x$1)
int
hashCode()
boolean
isEmpty()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.collection.immutable.Set<ActorRef>
regionProxies()
scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>>
regions()
boolean
rememberEntities()
scala.collection.immutable.Map<java.lang.String,ActorRef>
shards()
java.lang.String
toString()
scala.collection.immutable.Set<java.lang.String>
unallocatedShards()
static scala.Option<scala.Tuple5<scala.collection.immutable.Map<java.lang.String,ActorRef>,scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>>,scala.collection.immutable.Set<ActorRef>,scala.collection.immutable.Set<java.lang.String>,java.lang.Object>>
unapply(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State x$0)
org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State
updated(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.DomainEvent event)
org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State
withRememberEntities(boolean enabled)
-
-
-
Method Detail
-
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<java.lang.String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<java.lang.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<java.lang.String,ActorRef> apply$default$1()
-
apply$default$2
public static scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.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<java.lang.String> apply$default$4()
-
apply$default$5
public static boolean apply$default$5()
-
unapply
public static scala.Option<scala.Tuple5<scala.collection.immutable.Map<java.lang.String,ActorRef>,scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>>,scala.collection.immutable.Set<ActorRef>,scala.collection.immutable.Set<java.lang.String>,java.lang.Object>> unapply(org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State x$0)
-
shards
public scala.collection.immutable.Map<java.lang.String,ActorRef> shards()
-
regions
public scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> regions()
-
regionProxies
public scala.collection.immutable.Set<ActorRef> regionProxies()
-
unallocatedShards
public scala.collection.immutable.Set<java.lang.String> unallocatedShards()
-
rememberEntities
public boolean rememberEntities()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withRememberEntities
public org.apache.pekko.cluster.sharding.ShardCoordinator.Internal.State withRememberEntities(boolean enabled)
-
isEmpty
public boolean isEmpty()
-
allShards
public scala.collection.immutable.Set<java.lang.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<java.lang.String,ActorRef> shards, scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> regions, scala.collection.immutable.Set<ActorRef> regionProxies, scala.collection.immutable.Set<java.lang.String> unallocatedShards, boolean rememberEntities)
-
copy$default$1
public scala.collection.immutable.Map<java.lang.String,ActorRef> copy$default$1()
-
copy$default$2
public scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<java.lang.String>> copy$default$2()
-
copy$default$3
public scala.collection.immutable.Set<ActorRef> copy$default$3()
-
copy$default$4
public scala.collection.immutable.Set<java.lang.String> copy$default$4()
-
copy$default$5
public boolean copy$default$5()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-