public class ReliableDeliverySupervisor extends java.lang.Object implements Actor, ActorLogging
Modifier and Type | Class and Description |
---|---|
static class |
ReliableDeliverySupervisor.AttemptSysMsgRedelivery$ |
static class |
ReliableDeliverySupervisor.GotUid |
static class |
ReliableDeliverySupervisor.GotUid$ |
static class |
ReliableDeliverySupervisor.Idle$ |
static class |
ReliableDeliverySupervisor.IsIdle$ |
static class |
ReliableDeliverySupervisor.Ungate$ |
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
ReliableDeliverySupervisor(scala.Option<AkkaProtocolHandle> handleOrActive,
Address localAddress,
Address remoteAddress,
scala.Option<java.lang.Object> refuseUid,
AkkaProtocolTransport transport,
RemoteSettings settings,
AkkaPduCodec codec,
java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers) |
Modifier and Type | Method and Description |
---|---|
Cancellable |
autoResendTimer() |
scala.Option<scala.concurrent.duration.Deadline> |
bailoutAt() |
AkkaPduCodec |
codec() |
scala.Option<AkkaProtocolHandle> |
currentHandle() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
flushWait() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
gated() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
idle() |
Address |
localAddress() |
double |
maxResendRate() |
SeqNo |
nextSeq() |
void |
postRestart(java.lang.Throwable reason)
User overridable callback: By default it calls
preStart() . |
void |
postStop()
User overridable callback.
|
static Props |
props(scala.Option<AkkaProtocolHandle> handleOrActive,
Address localAddress,
Address remoteAddress,
scala.Option<java.lang.Object> refuseUid,
AkkaProtocolTransport transport,
RemoteSettings settings,
AkkaPduCodec codec,
java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers) |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
receive()
This defines the initial actor behavior, it must return a partial function
with the actor logic.
|
java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> |
receiveBuffers() |
scala.Option<java.lang.Object> |
refuseUid() |
Address |
remoteAddress() |
AckedSendBuffer<EndpointManager.Send> |
resendBuffer() |
int |
resendLimit() |
void |
reset() |
long |
seqCounter() |
RemoteSettings |
settings() |
OneForOneStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising
child actors.
|
AkkaProtocolTransport |
transport() |
scala.Option<java.lang.Object> |
uid() |
boolean |
uidConfirmed() |
ActorRef |
writer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, preRestart, preStart, self, sender, unhandled
_log, log
public ReliableDeliverySupervisor(scala.Option<AkkaProtocolHandle> handleOrActive, Address localAddress, Address remoteAddress, scala.Option<java.lang.Object> refuseUid, AkkaProtocolTransport transport, RemoteSettings settings, AkkaPduCodec codec, java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers)
public static Props props(scala.Option<AkkaProtocolHandle> handleOrActive, Address localAddress, Address remoteAddress, scala.Option<java.lang.Object> refuseUid, AkkaProtocolTransport transport, RemoteSettings settings, AkkaPduCodec codec, java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers)
public Address localAddress()
public Address remoteAddress()
public scala.Option<java.lang.Object> refuseUid()
public AkkaProtocolTransport transport()
public RemoteSettings settings()
public AkkaPduCodec codec()
public java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers()
public Cancellable autoResendTimer()
public double maxResendRate()
public int resendLimit()
public OneForOneStrategy supervisorStrategy()
Actor
supervisorStrategy
in interface Actor
public scala.Option<AkkaProtocolHandle> currentHandle()
public AckedSendBuffer<EndpointManager.Send> resendBuffer()
public long seqCounter()
public void reset()
public SeqNo nextSeq()
public ActorRef writer()
public scala.Option<java.lang.Object> uid()
public scala.Option<scala.concurrent.duration.Deadline> bailoutAt()
public boolean uidConfirmed()
public void postStop()
Actor
public void postRestart(java.lang.Throwable reason)
Actor
preStart()
.postRestart
in interface Actor
reason
- the Throwable that caused the restart to happen
Is called right AFTER restart on the newly created Actor to allow reinitialization after an Actor crash.public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> gated()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> idle()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> flushWait()