akka.remote
Class ReliableDeliverySupervisor
java.lang.Object
akka.remote.ReliableDeliverySupervisor
- All Implemented Interfaces:
- Actor, ActorLogging
public class ReliableDeliverySupervisor
- extends java.lang.Object
- implements Actor, ActorLogging
INTERNAL API
Method Summary |
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(boolean writerTerminated,
boolean earlyUngateRequested)
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
idle()
|
Address |
localAddress()
|
scala.Option<Cancellable> |
maxSilenceTimer()
|
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()
|
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.actor.Actor |
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, preRestart, preStart, self, sender, unhandled |
ReliableDeliverySupervisor
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)
props
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)
localAddress
public Address localAddress()
remoteAddress
public Address remoteAddress()
refuseUid
public scala.Option<java.lang.Object> refuseUid()
transport
public AkkaProtocolTransport transport()
settings
public RemoteSettings settings()
codec
public AkkaPduCodec codec()
receiveBuffers
public java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers()
autoResendTimer
public Cancellable autoResendTimer()
supervisorStrategy
public OneForOneStrategy supervisorStrategy()
- Description copied from interface:
Actor
- User overridable definition the strategy to use for supervising
child actors.
- Specified by:
supervisorStrategy
in interface Actor
- Returns:
- (undocumented)
currentHandle
public scala.Option<AkkaProtocolHandle> currentHandle()
resendBuffer
public AckedSendBuffer<EndpointManager.Send> resendBuffer()
seqCounter
public long seqCounter()
reset
public void reset()
nextSeq
public SeqNo nextSeq()
writer
public ActorRef writer()
uid
public scala.Option<java.lang.Object> uid()
bailoutAt
public scala.Option<scala.concurrent.duration.Deadline> bailoutAt()
maxSilenceTimer
public scala.Option<Cancellable> maxSilenceTimer()
uidConfirmed
public boolean uidConfirmed()
postStop
public void postStop()
- Description copied from interface:
Actor
- User overridable callback.
Is called asynchronously after 'actor.stop()' is invoked.
Empty default implementation.
- Specified by:
postStop
in interface Actor
postRestart
public void postRestart(java.lang.Throwable reason)
- Description copied from interface:
Actor
- User overridable callback: By default it calls
preStart()
.
- Specified by:
postRestart
in interface Actor
- Parameters:
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.
receive
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
- Description copied from interface:
Actor
- This defines the initial actor behavior, it must return a partial function
with the actor logic.
- Specified by:
receive
in interface Actor
- Returns:
- (undocumented)
gated
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> gated(boolean writerTerminated,
boolean earlyUngateRequested)
idle
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> idle()
flushWait
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> flushWait()