Package akka.cluster.sharding.typed
Class GetShardRegionState
- java.lang.Object
-
- akka.cluster.sharding.typed.GetShardRegionState
-
- All Implemented Interfaces:
ClusterShardingQuery
,java.io.Serializable
,scala.Equals
,scala.Product
public final class GetShardRegionState extends java.lang.Object implements ClusterShardingQuery, scala.Product, java.io.Serializable
Query the ShardRegion state for the given entity type key. This will get the state of the local ShardRegion's state.Intended for testing purpose to see when cluster sharding is "ready" or to monitor the state of the shard regions.
For the statistics for the entire cluster, see
GetClusterShardingStats
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetShardRegionState(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
Java APIGetShardRegionState(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetShardRegionState
apply(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
boolean
canEqual(java.lang.Object x$1)
GetShardRegionState
copy(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
EntityTypeKey<?>
copy$default$1()
ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>
copy$default$2()
EntityTypeKey<?>
entityTypeKey()
boolean
equals(java.lang.Object x$1)
int
hashCode()
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()
ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>
replyTo()
java.lang.String
toString()
static scala.Option<scala.Tuple2<EntityTypeKey<?>,ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>>>
unapply(GetShardRegionState x$0)
-
-
-
Constructor Detail
-
GetShardRegionState
public GetShardRegionState(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
-
GetShardRegionState
public GetShardRegionState(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
Java APIQuery the ShardRegion state for the given entity type key. This will get the state of the local ShardRegion's state.
-
-
Method Detail
-
apply
public static GetShardRegionState apply(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
-
unapply
public static scala.Option<scala.Tuple2<EntityTypeKey<?>,ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>>> unapply(GetShardRegionState x$0)
-
entityTypeKey
public EntityTypeKey<?> entityTypeKey()
-
replyTo
public ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo()
-
copy
public GetShardRegionState copy(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)
-
copy$default$1
public EntityTypeKey<?> copy$default$1()
-
copy$default$2
public ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> copy$default$2()
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
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
-
-