|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.remote.EndpointActor akka.remote.EndpointWriter
public class EndpointWriter
INTERNAL API
Nested Class Summary | |
---|---|
static class |
EndpointWriter.AckIdleCheckTimer$
|
static class |
EndpointWriter.BackoffTimer$
|
static class |
EndpointWriter.FlushAndStop$
|
static class |
EndpointWriter.Handle
|
static class |
EndpointWriter.Handle$
|
static class |
EndpointWriter.OutboundAck
|
static class |
EndpointWriter.OutboundAck$
|
static class |
EndpointWriter.StoppedReading
|
static class |
EndpointWriter.StoppedReading$
|
static class |
EndpointWriter.StopReading
|
static class |
EndpointWriter.StopReading$
|
static class |
EndpointWriter.TakeOver
This message signals that the current association maintained by the local EndpointWriter and EndpointReader is to be overridden by a new inbound association. |
static class |
EndpointWriter.TakeOver$
|
static class |
EndpointWriter.TookOver
|
static class |
EndpointWriter.TookOver$
|
Nested classes/interfaces inherited from interface akka.actor.Actor |
---|
Actor.emptyBehavior$ |
Constructor Summary | |
---|---|
EndpointWriter(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.Option<ActorRef> reliableDeliverySupervisor)
|
Method Summary | |
---|---|
scala.concurrent.duration.Deadline |
ackDeadline()
|
Cancellable |
ackIdleTimer()
|
long |
adaptiveBackoffNanos()
|
void |
adjustAdaptiveBackup()
|
MessageDispatcher |
backoffDispatcher()
|
void |
becomeWritingOrSendBufferedMessages()
|
java.util.LinkedList<java.lang.Object> |
buffer()
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
buffering()
|
void |
enqueueInBuffer(java.lang.Object msg)
|
ExtendedActorSystem |
extendedSystem()
|
void |
flushAndStop()
|
boolean |
fullBackoff()
|
int |
fullBackoffCount()
|
scala.Option<AkkaProtocolHandle> |
handle()
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
handoff()
|
boolean |
inbound()
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
initializing()
|
long |
largeBufferLogTimestamp()
|
scala.Option<Ack> |
lastAck()
|
int |
maxWriteCount()
|
DefaultMessageDispatcher |
msgDispatch()
|
scala.concurrent.duration.Deadline |
newAckDeadline()
|
int |
noBackoffCount()
|
void |
postRestart(java.lang.Throwable reason)
User overridable callback: By default it calls preStart() . |
void |
postStop()
User overridable callback. |
void |
preStart()
User overridable callback. |
java.util.LinkedList<EndpointManager.Send> |
prioBuffer()
|
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.Option<ActorRef> reliableDeliverySupervisor)
|
RemoteActorRefProvider |
provider()
|
scala.Option<ActorRef> |
reader()
|
scala.collection.Iterator<java.lang.Object> |
readerId()
|
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<ActorRef> |
reliableDeliverySupervisor()
|
RemoteMetrics |
remoteMetrics()
|
void |
scheduleBackoffTimer()
|
void |
sendBufferedMessages()
|
int |
smallBackoffCount()
|
AssociationHandle.DisassociateInfo |
stopReason()
|
OneForOneStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising child actors. |
void |
unhandled(java.lang.Object message)
User overridable callback. |
int |
writeCount()
|
boolean |
writeSend(EndpointManager.Send s)
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
writing()
|
Methods inherited from class akka.remote.EndpointActor |
---|
codec, eventPublisher, localAddress, publishDisassociated, publishError, remoteAddress, settings, transport |
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, self, sender |
Methods inherited from interface akka.actor.ActorLogging |
---|
_log, log |
Constructor Detail |
---|
public EndpointWriter(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.Option<ActorRef> reliableDeliverySupervisor)
Method Detail |
---|
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, scala.Option<ActorRef> reliableDeliverySupervisor)
public java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers()
public scala.Option<ActorRef> reliableDeliverySupervisor()
public ExtendedActorSystem extendedSystem()
public RemoteMetrics remoteMetrics()
public MessageDispatcher backoffDispatcher()
public scala.Option<ActorRef> reader()
public scala.Option<AkkaProtocolHandle> handle()
public scala.collection.Iterator<java.lang.Object> readerId()
public scala.concurrent.duration.Deadline newAckDeadline()
public scala.concurrent.duration.Deadline ackDeadline()
public scala.Option<Ack> lastAck()
public OneForOneStrategy supervisorStrategy()
Actor
public RemoteActorRefProvider provider()
public DefaultMessageDispatcher msgDispatch()
public boolean inbound()
inbound
in class EndpointActor
public AssociationHandle.DisassociateInfo stopReason()
public java.util.LinkedList<java.lang.Object> buffer()
public java.util.LinkedList<EndpointManager.Send> prioBuffer()
public long largeBufferLogTimestamp()
public Cancellable ackIdleTimer()
public void preStart()
Actor
public void postRestart(java.lang.Throwable reason)
Actor
preStart()
.
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 void postStop()
Actor
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> initializing()
public void enqueueInBuffer(java.lang.Object msg)
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> buffering()
public void becomeWritingOrSendBufferedMessages()
public int writeCount()
public int maxWriteCount()
public long adaptiveBackoffNanos()
public boolean fullBackoff()
public int fullBackoffCount()
public int smallBackoffCount()
public int noBackoffCount()
public void adjustAdaptiveBackup()
public void sendBufferedMessages()
public void scheduleBackoffTimer()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> writing()
public boolean writeSend(EndpointManager.Send s)
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> handoff()
public void unhandled(java.lang.Object message)
Actor
DeathPactException
(in
case of an unhandled Terminated
message) or publishes an UnhandledMessage
to the actor's system's EventStream
message
- (undocumented)public void flushAndStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |