public abstract class SingleActiveServiceKrouter<T extends SingleActiveServiceKrouter> extends AbstractKrouter<T>
Actor.ActorReportCLIENT_PING_INTERVAL_MS, clients, lastSwitch, nextAliveRemoteActors, SERVICE_UNAVAILABLE, timeoutMap__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallbackCONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZE, version| Constructor and Description |
|---|
SingleActiveServiceKrouter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
dispatchRemoteCall(RemoteCallEntry rce,
ConnectionRegistry clientRemoteRegistry)
dispatch call to a service.
|
protected abstract Actor |
getRemoteRef() |
protected List<Actor> |
getServices() |
void |
init() |
static void |
main(String[] args) |
abstract void |
router$handleServiceDisconnect(Actor x) |
IPromise |
router$RegisterService(Actor remoteRef,
boolean stateful) |
protected abstract void |
setRemoteRef(Actor remoteRef) |
protected void |
willDispatch() |
__dispatchRemoteCall, checkPingOnClients, clientConnected, clientDisconnected, createErrorPromiseResponse, forwardCall, forwardCallInternal, forwardMultiCall, forwardMultiCallInternal, getClientPingTimeout, getServicePingTimeout, handleServiceDiscon, hasBeenUnpublished, isStateful, pingServices, router$clientPing, sendFailoverNotification, sendFailoverNotificationInternal__addDeadLetter, __addRemoteConnection, __addStopHandler, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, debounce, delayed, execInThreadPool, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getUntypedRef, hasStopped, inside, inThread, isCallbackQPressured, isEmpty, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, self, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGCAddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yield, yield, yieldCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasBeenPublishedprotected abstract Actor getRemoteRef()
protected abstract void setRemoteRef(Actor remoteRef)
public IPromise router$RegisterService(Actor remoteRef, boolean stateful)
router$RegisterService in class AbstractKrouter<T extends SingleActiveServiceKrouter>public void init()
init in class AbstractKrouter<T extends SingleActiveServiceKrouter>public abstract void router$handleServiceDisconnect(Actor x)
router$handleServiceDisconnect in class AbstractKrouter<T extends SingleActiveServiceKrouter>protected List<Actor> getServices()
getServices in class AbstractKrouter<T extends SingleActiveServiceKrouter>protected boolean dispatchRemoteCall(RemoteCallEntry rce, ConnectionRegistry clientRemoteRegistry)
AbstractKrouterdispatchRemoteCall in class AbstractKrouter<T extends SingleActiveServiceKrouter>protected void willDispatch()
public static void main(String[] args)
Copyright © 2020. All rights reserved.