public abstract static class SelectionHandler.SelectorBasedManager extends java.lang.Object implements Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
Constructor and Description |
---|
SelectorBasedManager(SelectionHandlerSettings selectorSettings,
int nrOfSelectors) |
Modifier and Type | Method and Description |
---|---|
ActorContext |
context()
Stores the context for this actor, including self, and sender.
|
ActorRef |
selectorPool() |
ActorRef |
self()
The 'self' field holds the ActorRef for this actor.
|
SupervisorStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising
child actors.
|
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> |
workerForCommandHandler(scala.PartialFunction<SelectionHandler.HasFailureMessage,scala.Function1<ChannelRegistry,Props>> pf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, postRestart, postStop, preRestart, preStart, receive, sender, unhandled
public SelectorBasedManager(SelectionHandlerSettings selectorSettings, int nrOfSelectors)
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 SupervisorStrategy supervisorStrategy()
Actor
supervisorStrategy
in interface Actor
public ActorRef selectorPool()
public final scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> workerForCommandHandler(scala.PartialFunction<SelectionHandler.HasFailureMessage,scala.Function1<ChannelRegistry,Props>> pf)