-
Methods in org.nustaq.kontraktor with annotations of type CallerSideMethod
| Modifier and Type |
Method |
Description |
void |
Actor.__addDeadLetter(Actor receiver,
java.lang.String methodName) |
|
void |
Actor.__addRemoteConnection(ConnectionRegistry con) |
|
void |
Actor.__addStopHandler(Callback<SELF> cb) |
|
boolean |
Actor.__dispatchRemoteCall(ObjectSocket objSocket,
RemoteCallEntry rce,
ConnectionRegistry registry,
java.util.List<IPromise> createdFutures,
java.lang.Object authContext,
java.util.function.BiFunction<Actor,java.lang.String,java.lang.Boolean> callInterceptor,
long delayCode) |
called if a message invokation from remote is received
|
java.lang.Object |
Actor.__enqueueCall(Actor receiver,
java.lang.String methodName,
java.lang.Object[] args,
boolean isCB) |
|
java.lang.reflect.Method |
Actor.__getCachedMethod(java.lang.String methodName,
Actor actor,
java.util.function.BiFunction<Actor,java.lang.String,java.lang.Boolean> callInterceptor) |
|
void |
Actor.__removeRemoteConnection(ConnectionRegistry con) |
|
void |
Actor.__stop() |
|
protected void |
Actor.__stopImpl() |
|
IPromise |
Actor.ask(java.lang.String messageId,
java.lang.Object... args) |
generic method for untyped remoting.
|
void |
Actor.delayed(long millis,
java.lang.Runnable toRun) |
schedule an action or call delayed.
|
void |
Actor.execute(java.lang.Runnable command) |
just enqueue given runable to this actors mailbox and execute on the actor's thread
WARNING: the similar named method execInThreadPool() works different (bad naming)
|
Actor |
Actor.getActorRef() |
|
int |
Actor.getCallbackSize() |
WARNING: call rarely, this method might have O(n) runtime with default unbounded queues.
|
DispatcherThread |
Actor.getCurrentDispatcher() |
|
int |
Actor.getMailboxSize() |
WARNING: call rarely, this method might have O(n) runtime with default unbounded queues.
|
int |
Actor.getQSizes() |
WARNING: call rarely, this method might have O(n) runtime with default unbounded queues.
|
Scheduler |
Actor.getScheduler() |
|
Actor |
Actor.getUntypedRef() |
|
protected <T> T |
Actor.inThread(Actor proxy,
T cbInterface) |
wraps an interface into a proxy of that interface.
|
boolean |
Actor.isCallbackQPressured() |
WARNING: call rarely, this method might have O(n) runtime with default unbounded queues.
|
boolean |
Actor.isEmpty() |
|
boolean |
Actor.isMailboxPressured() |
WARNING: call rarely, this method might have O(n) runtime with default unbounded queues.
|
boolean |
Actor.isProxy() |
|
boolean |
Actor.isPublished() |
|
boolean |
Actor.isRemote() |
|
boolean |
Actor.isStopped() |
synchronous method returning true in case this actor is stopped
|
void |
Actor.setServerMsgCallback(Callback<RemoteCallEntry> cb) |
cb is invoked once the server sends back messages to a client,
the client does not necessary have an actor running but might simply connect
using ordinary mt code
|
void |
Actor.stop() |
stop receiving events.
|
void |
Actor.stopSafeClose() |
avoids exception when closing an actor after stop has been called.
|
void |
Actor.tell(java.lang.String messageId,
java.lang.Object... args) |
generic method for untyped remoting.
|
-
Methods in org.nustaq.kontraktor.routers with annotations of type CallerSideMethod
| Modifier and Type |
Method |
Description |
boolean |
AbstractKrouter.__dispatchRemoteCall(ObjectSocket objSocket,
RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry,
java.util.List<IPromise> createdFutures,
java.lang.Object authContext,
java.util.function.BiFunction<Actor,java.lang.String,java.lang.Boolean> callInterceptor,
long delayCode) |
|
protected RemoteCallEntry |
AbstractKrouter.createErrorPromiseResponse(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
|
protected void |
HotHotFailoverKrouter.dispatchImpl(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry,
boolean[] done,
Callback[] selected) |
|
protected abstract boolean |
AbstractKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
dispatch call to a service.
|
protected boolean |
HotHotFailoverKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
|
protected boolean |
SingleActiveServiceKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
|
protected void |
AbstractKrouter.forwardCall(RemoteCallEntry rce,
Actor remoteRef,
ConnectionRegistry clientRemoteRegistry) |
|
protected void |
AbstractKrouter.forwardMultiCall(RemoteCallEntry rce,
Actor remoteRef,
ConnectionRegistry clientRemoteRegistry,
boolean[] done,
Callback[] selected) |
|
protected void |
AbstractKrouter.forwardMultiCallInternal(RemoteCallEntry rceIn,
Actor remoteRef,
ConnectionRegistry clientRemoteRegistry,
boolean[] done,
Callback[] selected) |
|
protected Actor |
HotColdFailoverKrouter.getRemoteRef() |
|
protected Actor |
RoundRobinKrouter.getRemoteRef() |
|
protected Actor |
SimpleKrouter.getRemoteRef() |
|
protected abstract Actor |
SingleActiveServiceKrouter.getRemoteRef() |
|
protected void |
AbstractKrouter.handleServiceDiscon(Actor remoteRef) |
|
protected boolean |
AbstractKrouter.isStateful() |
|
protected void |
AbstractKrouter.sendFailoverNotification(ConnectionRegistry clientRemoteRegistry) |
|
protected void |
HotColdFailoverKrouter.setRemoteRef(Actor remoteRef) |
|
protected void |
SimpleKrouter.setRemoteRef(Actor remoteRef) |
|
protected abstract void |
SingleActiveServiceKrouter.setRemoteRef(Actor remoteRef) |
|
protected void |
RoundRobinKrouter.willDispatch() |
|
protected void |
SingleActiveServiceKrouter.willDispatch() |
|
-
Methods in org.nustaq.kontraktor.util with annotations of type CallerSideMethod
| Modifier and Type |
Method |
Description |
void |
Log.debug(java.lang.Object source,
java.lang.String msg) |
|
void |
Log.debugLong(java.lang.Object source,
java.lang.Throwable th,
java.lang.String msg) |
|
void |
Log.error(java.lang.Object source,
java.lang.Throwable ex,
java.lang.String msg) |
|
int |
Log.getSeverity() |
|
void |
Log.info(java.lang.Object source,
java.lang.String msg) |
|
void |
Log.infoLong(java.lang.Object source,
java.lang.Throwable ex,
java.lang.String msg) |
|
void |
Log.resetToSysout() |
|
void |
Log.warn(java.lang.Object source,
java.lang.String msg) |
|
void |
Log.warnLong(java.lang.Object source,
java.lang.Throwable ex,
java.lang.String msg) |
|