public final class ResizablePoolCell extends RoutedActorCell
RoutedActorCell.RouterActorCreator| Constructor and Description |
|---|
ResizablePoolCell(ActorSystemImpl _system,
InternalActorRef _ref,
Props _routerProps,
MessageDispatcher _routerDispatcher,
Props _routeeProps,
InternalActorRef _supervisor,
Pool pool) |
| Modifier and Type | Method and Description |
|---|---|
Pool |
pool() |
protected void |
preSuperStart()
Called when
router is initalized but before super.start() to
be able to do extra initialization in subclass. |
void |
resize(boolean initial) |
Resizer |
resizer() |
void |
sendMessage(Envelope envelope)
Route the message via the router to the selected destination.
|
addRoutee, addRoutees, removeRoutee, removeRoutees, routeeProps, router, routerConfig, startactor, autoReceiveMessage, become, become, become, clazz, clearActorCellFields, clearActorFields, contextStack, create, currentMessage, DefaultState, dispatcher, emptyActorRefSet, emptyBehaviorStack, emptyCancellable, guardian, handleSupervise, invoke, isLocal, lookupRoot, newActor, newUid, parent, props, provider, publish, receiveMessage, self, sender, setActorFields, splitNameAndUid, stash, SuspendedState, SuspendedWaitForChildrenState, system, systemImpl, systemInvoke, terminatedProps, uid, unbecome, undefinedUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChild, getChildrenchild, children, receiveTimeout, setReceiveTimeout, unwatch, watch, writeObjectactorFor, actorFor, actorFor, actorFor, actorOf, actorOf, actorSelection, actorSelection, stopchildrenRefs, getChildByName, getSingleChild, hasMessages, isTerminated, numberOfMessages, restart, resume, sendMessage, sendSystemMessage, stop, suspendpublic ResizablePoolCell(ActorSystemImpl _system, InternalActorRef _ref, Props _routerProps, MessageDispatcher _routerDispatcher, Props _routeeProps, InternalActorRef _supervisor, Pool pool)
public Pool pool()
public Resizer resizer()
protected void preSuperStart()
RoutedActorCellrouter is initalized but before super.start() to
be able to do extra initialization in subclass.preSuperStart in class RoutedActorCellpublic void sendMessage(Envelope envelope)
RoutedActorCell
When CurrentRoutees is sent to the RoutedActorRef it
replies with RouterRoutees.
sendMessage in interface CellsendMessage in class RoutedActorCellenvelope - (undocumented)public void resize(boolean initial)