Package akka.cluster.sharding
Class ShardRegion.CurrentShardRegionState
- java.lang.Object
-
- akka.cluster.sharding.ShardRegion.CurrentShardRegionState
-
- All Implemented Interfaces:
ClusterShardingSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ShardRegion
public static final class ShardRegion.CurrentShardRegionState extends java.lang.Object implements ClusterShardingSerializable, scala.Product
Reply toShardRegion.GetShardRegionState$
If gathering the shard information times out the set of shards will be empty.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrentShardRegionState(scala.collection.immutable.Set<ShardRegion.ShardState> shards)
CurrentShardRegionState(scala.collection.immutable.Set<ShardRegion.ShardState> shards, scala.collection.immutable.Set<java.lang.String> failed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object o)
ShardRegion.CurrentShardRegionState
copy(scala.collection.immutable.Set<ShardRegion.ShardState> shards)
scala.collection.immutable.Set<ShardRegion.ShardState>
copy$default$1()
boolean
equals(java.lang.Object other)
scala.collection.immutable.Set<java.lang.String>
failed()
java.util.Set<java.lang.String>
getFailed()
Java APIjava.util.Set<ShardRegion.ShardState>
getShards()
Java API:int
hashCode()
int
productArity()
java.lang.Object
productElement(int n)
scala.collection.immutable.Set<ShardRegion.ShardState>
shards()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CurrentShardRegionState
public CurrentShardRegionState(scala.collection.immutable.Set<ShardRegion.ShardState> shards, scala.collection.immutable.Set<java.lang.String> failed)
-
CurrentShardRegionState
public CurrentShardRegionState(scala.collection.immutable.Set<ShardRegion.ShardState> shards)
-
-
Method Detail
-
shards
public scala.collection.immutable.Set<ShardRegion.ShardState> shards()
-
failed
public scala.collection.immutable.Set<java.lang.String> failed()
-
getShards
public java.util.Set<ShardRegion.ShardState> getShards()
Java API:If gathering the shard information times out the set of shards will be empty.
-
getFailed
public java.util.Set<java.lang.String> getFailed()
Java API
-
copy
public ShardRegion.CurrentShardRegionState copy(scala.collection.immutable.Set<ShardRegion.ShardState> shards)
-
copy$default$1
public scala.collection.immutable.Set<ShardRegion.ShardState> copy$default$1()
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int n)
- Specified by:
productElement
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object o)
- Specified by:
canEqual
in interfacescala.Equals
-
-