Class 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 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 API

        Query the ShardRegion state for the given entity type key. This will get the state of the local ShardRegion's state.

    • Method Detail

      • replyTo

        public ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> replyTo()
      • copy$default$2

        public ActorRef<akka.cluster.sharding.ShardRegion.CurrentShardRegionState> copy$default$2()
      • productPrefix

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

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

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

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

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

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

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