Class ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
- java.lang.Object
-
- akka.cluster.sharding.typed.internal.ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
-
- All Implemented Interfaces:
ClusterShardingTypedSerializable
,NumberOfProcesses
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ShardedDaemonProcessCoordinator
public static final class ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply extends java.lang.Object implements NumberOfProcesses, ClusterShardingTypedSerializable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetNumberOfProcessesReply(int numberOfProcesses, java.time.Instant started, boolean rescaleInProgress, long revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
copy(int numberOfProcesses, java.time.Instant started, boolean rescaleInProgress, long revision)
int
copy$default$1()
java.time.Instant
copy$default$2()
boolean
copy$default$3()
long
copy$default$4()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
numberOfProcesses()
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()
boolean
rescaleInProgress()
long
revision()
Revision number increased for every re-scale that has been triggered withChangeNumberOfProcesses
java.time.Instant
started()
The timestamp when the change to the current number of processes was initiated.java.lang.String
toString()
-
-
-
Method Detail
-
numberOfProcesses
public int numberOfProcesses()
- Specified by:
numberOfProcesses
in interfaceNumberOfProcesses
-
started
public java.time.Instant started()
Description copied from interface:NumberOfProcesses
The timestamp when the change to the current number of processes was initiated. If the number is the initial number of processes this value is "some time" after cluster startup.- Specified by:
started
in interfaceNumberOfProcesses
-
rescaleInProgress
public boolean rescaleInProgress()
- Specified by:
rescaleInProgress
in interfaceNumberOfProcesses
-
revision
public long revision()
Description copied from interface:NumberOfProcesses
Revision number increased for every re-scale that has been triggered withChangeNumberOfProcesses
- Specified by:
revision
in interfaceNumberOfProcesses
-
copy
public ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply copy(int numberOfProcesses, java.time.Instant started, boolean rescaleInProgress, long revision)
-
copy$default$1
public int copy$default$1()
-
copy$default$2
public java.time.Instant copy$default$2()
-
copy$default$3
public boolean copy$default$3()
-
copy$default$4
public long copy$default$4()
-
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
-
-