ActorSystempublic interface ISystem
| Modifier and Type | Method | Description |
|---|---|---|
<E extends SimpleExternalActorMind> |
createActor(E pMinionMind,
String pName) |
|
IActorRef |
findActor(String pId) |
|
int |
getDispatcher() |
|
String |
name() |
|
boolean |
requestQuantum(int pDispatcher,
Runnable pActor) |
|
ScheduledFuture |
schedule(IActorRef pReceiver,
IEnvelope pEnvelope,
long delay,
TimeUnit timeunit) |
|
ScheduledFuture |
scheduleAtFixedRate(IActorRef pReceiver,
IEnvelope pEnvelope,
long initialDelay,
long period,
TimeUnit timeunit) |
|
ScheduledFuture |
scheduleWithFixedDelay(IActorRef pReceiver,
IEnvelope pEnvelope,
long initialDelay,
long period,
TimeUnit timeunit) |
|
void |
shutdown() |
boolean requestQuantum(int pDispatcher,
Runnable pActor)
String name()
void shutdown()
IActorRef findActor(String pId) throws IllegalArgumentException
IllegalArgumentException<E extends SimpleExternalActorMind> IActorRef createActor(E pMinionMind, String pName) throws IllegalArgumentException
IllegalArgumentExceptionScheduledFuture schedule(IActorRef pReceiver, IEnvelope pEnvelope, long delay, TimeUnit timeunit)
ScheduledFuture scheduleAtFixedRate(IActorRef pReceiver, IEnvelope pEnvelope, long initialDelay, long period, TimeUnit timeunit)
ScheduledFuture scheduleWithFixedDelay(IActorRef pReceiver, IEnvelope pEnvelope, long initialDelay, long period, TimeUnit timeunit)
int getDispatcher()
Copyright © 2018. All rights reserved.