public class EndpointManager extends java.lang.Object implements Actor, RequiresMessageQueue<UnboundedMessageQueueSemantics>
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
EndpointManager(com.typesafe.config.Config conf,
LoggingAdapter log) |
Modifier and Type | Method and Description |
---|---|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
accepting() |
protected abstract static void |
akka$actor$Actor$_setter_$context_$eq(ActorContext x$1) |
protected abstract static void |
akka$actor$Actor$_setter_$self_$eq(ActorRef x$1) |
protected static void |
aroundPostRestart(java.lang.Throwable reason) |
protected static void |
aroundPostStop() |
protected static void |
aroundPreRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
protected static void |
aroundPreStart() |
protected static void |
aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive,
java.lang.Object msg) |
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
scala.collection.Iterator<java.lang.Object> |
endpointId() |
EndpointManager.EndpointRegistry |
endpoints() |
EventPublisher |
eventPublisher() |
ExtendedActorSystem |
extendedSystem() |
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
flushing() |
void |
handleInboundAssociation(Transport.InboundAssociation ia,
boolean writerIsIdle) |
void |
handleStashedInbound(ActorRef endpoint,
boolean writerIsIdle) |
void |
keepQuarantinedOr(Address remoteAddress,
scala.Function0<scala.runtime.BoxedUnit> body) |
scala.collection.immutable.Map<ActorRef,AkkaProtocolHandle> |
pendingReadHandoffs() |
static void |
postRestart(java.lang.Throwable reason) |
void |
postStop()
User overridable callback.
|
static void |
preRestart(java.lang.Throwable reason,
scala.Option<java.lang.Object> message) |
static void |
preStart() |
scala.concurrent.duration.FiniteDuration |
pruneInterval() |
Cancellable |
pruneTimerCancellable() |
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() |
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
static ActorRef |
sender() |
RemoteSettings |
settings() |
scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<Transport.InboundAssociation>> |
stashedInbound() |
OneForOneStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising
child actors.
|
scala.collection.immutable.Map<Address,AkkaProtocolTransport> |
transportMapping() |
static void |
unhandled(java.lang.Object message) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, preRestart, preStart, sender, unhandled
public EndpointManager(com.typesafe.config.Config conf, LoggingAdapter log)
public static final ActorRef sender()
protected static void aroundReceive(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive, java.lang.Object msg)
protected static void aroundPreStart()
protected static void aroundPostStop()
protected static void aroundPreRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message)
protected static void aroundPostRestart(java.lang.Throwable reason)
public static void preStart() throws java.lang.Exception
java.lang.Exception
public static void preRestart(java.lang.Throwable reason, scala.Option<java.lang.Object> message) throws java.lang.Exception
java.lang.Exception
public static void postRestart(java.lang.Throwable reason) throws java.lang.Exception
java.lang.Exception
public static void unhandled(java.lang.Object message)
protected abstract static void akka$actor$Actor$_setter_$context_$eq(ActorContext x$1)
protected abstract static void akka$actor$Actor$_setter_$self_$eq(ActorRef x$1)
public ActorContext context()
Actor
forward
.
WARNING: Only valid within the Actor itself, so do not close over it and publish it to other threads!
ActorContext
is the Scala API. getContext
returns a
UntypedActorContext
, which is the Java API of the actor
context.
public final ActorRef self()
Actor
self ! message
public RemoteSettings settings()
public ExtendedActorSystem extendedSystem()
public scala.collection.Iterator<java.lang.Object> endpointId()
public EventPublisher eventPublisher()
public EndpointManager.EndpointRegistry endpoints()
public scala.collection.immutable.Map<Address,AkkaProtocolTransport> transportMapping()
public scala.concurrent.duration.FiniteDuration pruneInterval()
public Cancellable pruneTimerCancellable()
public scala.collection.immutable.Map<ActorRef,AkkaProtocolHandle> pendingReadHandoffs()
public scala.collection.immutable.Map<ActorRef,scala.collection.immutable.Vector<Transport.InboundAssociation>> stashedInbound()
public void handleStashedInbound(ActorRef endpoint, boolean writerIsIdle)
public void keepQuarantinedOr(Address remoteAddress, scala.Function0<scala.runtime.BoxedUnit> body)
public OneForOneStrategy supervisorStrategy()
Actor
supervisorStrategy
in interface Actor
public java.util.concurrent.ConcurrentHashMap<EndpointManager.Link,EndpointManager.ResendState> receiveBuffers()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actor
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> accepting()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> flushing()
public void handleInboundAssociation(Transport.InboundAssociation ia, boolean writerIsIdle)