Package akka.actor.typed.delivery
Class ProducerController.RequestNext<A>
- java.lang.Object
-
- akka.actor.typed.delivery.ProducerController.RequestNext<A>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ProducerController
public static final class ProducerController.RequestNext<A> extends java.lang.Object implements scala.Product, java.io.Serializable
TheProducerController
sendsRequestNext
to the producer when it is allowed to send one message via thesendNextTo
oraskNextTo
. Note that only one message is allowed, and then it must wait for nextRequestNext
before sending one more message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestNext(java.lang.String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorRef<ProducerController.MessageWithConfirmation<A>>
askNextTo()
boolean
canEqual(java.lang.Object x$1)
long
confirmedSeqNr()
<A> ProducerController.RequestNext<A>
copy(java.lang.String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo)
<A> java.lang.String
copy$default$1()
<A> long
copy$default$2()
<A> long
copy$default$3()
<A> ActorRef<A>
copy$default$4()
<A> ActorRef<ProducerController.MessageWithConfirmation<A>>
copy$default$5()
long
currentSeqNr()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.String
producerId()
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()
ActorRef<A>
sendNextTo()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RequestNext
public RequestNext(java.lang.String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo)
-
-
Method Detail
-
producerId
public java.lang.String producerId()
-
currentSeqNr
public long currentSeqNr()
-
confirmedSeqNr
public long confirmedSeqNr()
-
askNextTo
public ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo()
-
copy
public <A> ProducerController.RequestNext<A> copy(java.lang.String producerId, long currentSeqNr, long confirmedSeqNr, ActorRef<A> sendNextTo, ActorRef<ProducerController.MessageWithConfirmation<A>> askNextTo)
-
copy$default$1
public <A> java.lang.String copy$default$1()
-
copy$default$2
public <A> long copy$default$2()
-
copy$default$3
public <A> long copy$default$3()
-
copy$default$4
public <A> ActorRef<A> copy$default$4()
-
copy$default$5
public <A> ActorRef<ProducerController.MessageWithConfirmation<A>> copy$default$5()
-
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
-
-