|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectakka.persistence.ChannelSettings
public class ChannelSettings
A Channel
configuration object.
param: redeliverMax Maximum number of redelivery attempts.
param: redeliverInterval Interval between redelivery attempts.
param: redeliverFailureListener Receiver of RedeliverFailure
notifications which are sent when the number
of redeliveries reaches redeliverMax
for a sequence of messages. To enforce
a redelivery of these messages, the listener has to restart the sending processor.
Alternatively, it can also confirm these messages, preventing further redeliveries.
Constructor Summary | |
---|---|
ChannelSettings(int redeliverMax,
scala.concurrent.duration.FiniteDuration redeliverInterval,
scala.Option<ActorRef> redeliverFailureListener)
|
Method Summary | |
---|---|
static ChannelSettings |
create()
Java API. |
scala.Option<ActorRef> |
redeliverFailureListener()
|
scala.concurrent.duration.FiniteDuration |
redeliverInterval()
|
int |
redeliverMax()
|
ChannelSettings |
withRedeliverFailureListener(ActorRef redeliverFailureListener)
Java API. |
ChannelSettings |
withRedeliverInterval(scala.concurrent.duration.FiniteDuration redeliverInterval)
Java API. |
ChannelSettings |
withRedeliverMax(int redeliverMax)
Java API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
---|
canEqual, equals |
Constructor Detail |
---|
public ChannelSettings(int redeliverMax, scala.concurrent.duration.FiniteDuration redeliverInterval, scala.Option<ActorRef> redeliverFailureListener)
Method Detail |
---|
public static ChannelSettings create()
public int redeliverMax()
public scala.concurrent.duration.FiniteDuration redeliverInterval()
public scala.Option<ActorRef> redeliverFailureListener()
public ChannelSettings withRedeliverMax(int redeliverMax)
redeliverMax
- (undocumented)
public ChannelSettings withRedeliverInterval(scala.concurrent.duration.FiniteDuration redeliverInterval)
redeliverInterval
- (undocumented)
public ChannelSettings withRedeliverFailureListener(ActorRef redeliverFailureListener)
redeliverFailureListener
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |