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 GetShardRegionStateapply(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)booleancanEqual(java.lang.Object x$1)GetShardRegionStatecopy(EntityTypeKey<?> entityTypeKey, ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo)EntityTypeKey<?>copy$default$1()ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>copy$default$2()EntityTypeKey<?>entityTypeKey()booleanequals(java.lang.Object x$1)inthashCode()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState>replyTo()java.lang.StringtoString()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:
 productPrefixin interfacescala.Product
 
- 
productArity
public int productArity()
- Specified by:
 productArityin interfacescala.Product
 
- 
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
 productElementin interfacescala.Product
 
- 
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
 productIteratorin interfacescala.Product
 
- 
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
 canEqualin interfacescala.Equals
 
- 
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
 productElementNamein interfacescala.Product
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
 equalsin interfacescala.Equals- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -