public class SelectionHandler extends java.lang.Object implements Actor, ActorLogging, RequiresMessageQueue<UnboundedMessageQueueSemantics>
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectionHandler.ChannelAcceptable$ |
static class |
SelectionHandler.ChannelConnectable$ |
static class |
SelectionHandler.ChannelReadable$ |
static class |
SelectionHandler.ChannelWritable$ |
static interface |
SelectionHandler.HasFailureMessage |
static class |
SelectionHandler.Retry |
static class |
SelectionHandler.Retry$ |
static class |
SelectionHandler.SelectorBasedManager |
static class |
SelectionHandler.WorkerForCommand |
static class |
SelectionHandler.WorkerForCommand$ |
Actor.emptyBehavior$| Constructor and Description |
|---|
SelectionHandler(SelectionHandlerSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
static SupervisorStrategy |
connectionSupervisorStrategy()
Special supervisor strategy for parents of TCP connection and listener actors.
|
void |
postStop()
User overridable callback.
|
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.
|
void |
spawnChildWithCapacityProtection(SelectionHandler.WorkerForCommand cmd,
int retriesLeft) |
OneForOneStrategy |
supervisorStrategy()
User overridable definition the strategy to use for supervising
child actors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, unhandled_log, logpublic SelectionHandler(SelectionHandlerSettings settings)
public static final SupervisorStrategy connectionSupervisorStrategy()
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Actorpublic void postStop()
Actorpublic OneForOneStrategy supervisorStrategy()
ActorsupervisorStrategy in interface Actorpublic void spawnChildWithCapacityProtection(SelectionHandler.WorkerForCommand cmd, int retriesLeft)