Class ShardCoordinator.Internal$.State

    • 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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface scala.Product

        productElementNames
    • 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 class java.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 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
      • equals

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