| Package | Description |
|---|---|
| org.nustaq.kontraktor | |
| org.nustaq.kontraktor.impl | |
| org.nustaq.kontraktor.remoting.base | |
| org.nustaq.kontraktor.remoting.encoding | |
| org.nustaq.kontraktor.routers |
| Modifier and Type | Field and Description |
|---|---|
ConnectionRegistry |
Actor.__clientConnection |
| Modifier and Type | Field and Description |
|---|---|
ConcurrentLinkedQueue<ConnectionRegistry> |
Actor.__connections |
static ThreadLocal<ConnectionRegistry> |
Actor.connection
contains remote connection if current message came from remote
|
| Modifier and Type | Method and Description |
|---|---|
protected ConcurrentLinkedQueue<ConnectionRegistry> |
Actor.getConnections() |
| Modifier and Type | Method and Description |
|---|---|
void |
Actor.__addRemoteConnection(ConnectionRegistry con) |
boolean |
Actor.__dispatchRemoteCall(ObjectSocket objSocket,
RemoteCallEntry rce,
ConnectionRegistry registry,
List<IPromise> createdFutures,
Object authContext,
BiFunction<Actor,String,Boolean> callInterceptor)
called if a message invokation from remote is received
|
void |
Actor.__removeRemoteConnection(ConnectionRegistry con) |
Object |
Scheduler.enqueueCall(ConnectionRegistry reg,
Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Object |
Scheduler.enqueueCallFromRemote(ConnectionRegistry reg,
Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB,
Object securityContext,
BiFunction<Actor,String,Boolean> callInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionRegistry |
CallEntry.getRemoteRefRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected CallEntry |
SimpleScheduler.createCallentry(ConnectionRegistry reg,
Object[] args,
boolean isCB,
Actor actor,
Method method) |
protected CallEntry |
RemoteScheduler.createCallentry(ConnectionRegistry reg,
Object[] args,
boolean isCB,
Actor actor,
Method method) |
Object |
SimpleScheduler.enqueueCall(ConnectionRegistry reg,
Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Object |
SimpleScheduler.enqueueCallFromRemote(ConnectionRegistry reg,
Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB,
Object securityContext,
BiFunction<Actor,String,Boolean> callInterceptor) |
void |
CallEntry.setRemoteRefRegistry(ConnectionRegistry remoteRefRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServingActor.clientConnected(ConnectionRegistry connectionRegistry,
String connectionIdentifier) |
void |
ServingActor.clientDisconnected(ConnectionRegistry connectionRegistry,
String connectionIdentifier) |
IPromise |
RemoteRefPolling.scheduleSendLoop(ConnectionRegistry reg)
return a future which is completed upon connection close
|
| Constructor and Description |
|---|
ScheduleEntry(ConnectionRegistry reg,
Promise promise) |
| Constructor and Description |
|---|
ActorRefSerializer(ConnectionRegistry reg) |
CallbackRefSerializer(ConnectionRegistry reg) |
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,ConnectionRegistry> |
AbstractKrouter.clients |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractKrouter.__dispatchRemoteCall(ObjectSocket objSocket,
RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry,
List<IPromise> createdFutures,
Object authContext,
BiFunction<Actor,String,Boolean> callInterceptor) |
void |
AbstractKrouter.clientConnected(ConnectionRegistry connectionRegistry,
String connectionIdentifier) |
void |
AbstractKrouter.clientDisconnected(ConnectionRegistry connectionRegistry,
String connectionIdentifier) |
protected RemoteCallEntry |
AbstractKrouter.createErrorPromiseResponse(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
protected void |
HotHotFailoverKrouter.dispatchImpl(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry,
boolean[] done,
Callback[] selected) |
protected boolean |
Krouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
protected boolean |
HotHotFailoverKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
protected boolean |
SingleActiveServiceKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry) |
protected abstract boolean |
AbstractKrouter.dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry)
dispatch call to a service.
|
protected void |
AbstractKrouter.forwardCall(RemoteCallEntry rce,
Actor remoteRef,
ConnectionRegistry clientRemoteRegistry) |
protected void |
AbstractKrouter.forwardCallInternal(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 void |
AbstractKrouter.sendFailoverNotification(ConnectionRegistry clientRemoteRegistry) |
protected void |
AbstractKrouter.sendFailoverNotificationInternal(ConnectionRegistry registry) |
Copyright © 2019. All rights reserved.