Class ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
java.lang.Object
org.apache.pekko.cluster.sharding.typed.internal.ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
- All Implemented Interfaces:
Serializable,ClusterShardingTypedSerializable,NumberOfProcesses,scala.Equals,scala.Product
- Enclosing class:
- ShardedDaemonProcessCoordinator
public static final class ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply
extends Object
implements NumberOfProcesses, ClusterShardingTypedSerializable, scala.Product, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetNumberOfProcessesReply(int numberOfProcesses, Instant started, boolean rescaleInProgress, long revision) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanlongbooleaninthashCode()intintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>booleanlongrevision()Revision number increased for every re-scale that has been triggered withChangeNumberOfProcessesstarted()The timestamp when the change to the current number of processes was initiated.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
GetNumberOfProcessesReply
public GetNumberOfProcessesReply(int numberOfProcesses, Instant started, boolean rescaleInProgress, long revision)
-
-
Method Details
-
numberOfProcesses
public int numberOfProcesses()- Specified by:
numberOfProcessesin interfaceNumberOfProcesses
-
started
Description copied from interface:NumberOfProcessesThe 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:
startedin interfaceNumberOfProcesses
-
rescaleInProgress
public boolean rescaleInProgress()- Specified by:
rescaleInProgressin interfaceNumberOfProcesses
-
revision
public long revision()Description copied from interface:NumberOfProcessesRevision number increased for every re-scale that has been triggered withChangeNumberOfProcesses- Specified by:
revisionin interfaceNumberOfProcesses
-
copy
public ShardedDaemonProcessCoordinator.GetNumberOfProcessesReply copy(int numberOfProcesses, Instant started, boolean rescaleInProgress, long revision) -
copy$default$1
public int copy$default$1() -
copy$default$2
-
copy$default$3
public boolean copy$default$3() -
copy$default$4
public long copy$default$4() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-