| Package | Description |
|---|---|
| org.nustaq.kontraktor | |
| org.nustaq.kontraktor.util |
| Modifier and Type | Method and Description |
|---|---|
void |
Actor.__addDeadLetter(Actor receiver,
String methodName) |
void |
Actor.__addRemoteConnection(RemoteConnection con) |
void |
Actor.__addStopHandler(Callback<SELF> cb) |
Object |
Actor.__enqueueCall(Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Method |
Actor.__getCachedMethod(String methodName,
Actor actor) |
void |
Actor.__removeRemoteConnection(RemoteConnection con) |
void |
Actor.__stop() |
void |
Actor.delayed(long millis,
Runnable toRun)
schedule an action or call delayed.
|
void |
Actor.execute(Runnable command)
just enqueue given runable to this actors mailbox and execute on the actor's thread
|
Actor |
Actor.getActorRef() |
int |
Actor.getCallbackSize() |
DispatcherThread |
Actor.getCurrentDispatcher() |
int |
Actor.getMailboxSize() |
int |
Actor.getQSizes() |
Scheduler |
Actor.getScheduler() |
protected <T> T |
Actor.inThread(Actor proxy,
T cbInterface)
wraps an interface into a proxy of that interface.
|
boolean |
Actor.isCallbackQPressured() |
boolean |
Actor.isMailboxPressured() |
boolean |
Actor.isProxy() |
boolean |
Actor.isPublished() |
boolean |
Actor.isRemote() |
boolean |
Actor.isStopped()
synchronous method returning true in case this actor is stopped
|
SELF |
Actor.setThrowExWhenBlocked(boolean b)
tell the execution machinery to throw an ActorBlockedException in case the actor is blocked trying to
put a message on an overloaded actor's mailbox/queue.
|
void |
Actor.stop()
stop receiving events.
|
void |
Actor.stopSafeClose()
avoids exception when closing an actor after stop has been called.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Log.debug(Object source,
String msg) |
void |
Log.error(Object source,
Throwable ex,
String msg) |
int |
Log.getSeverity() |
void |
Log.info(Object source,
String msg) |
void |
Log.infoLong(Object source,
Throwable ex,
String msg) |
void |
Log.resetToSysout() |
void |
Log.warn(Object source,
String msg) |
void |
Log.warnLong(Object source,
Throwable ex,
String msg) |
Copyright © 2015. All rights reserved.