Package org.nustaq.kontraktor.services
Class PlainService
java.lang.Object
org.nustaq.kontraktor.Actors
org.nustaq.kontraktor.Actor<T>
org.nustaq.kontraktor.services.ServiceActor<PlainService>
org.nustaq.kontraktor.services.PlainService
- All Implemented Interfaces:
Serializable,Executor,org.nustaq.kontraktor.monitoring.Monitorable
Created by ruedi on 29.05.17.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nustaq.kontraktor.Actor
org.nustaq.kontraktor.Actor.ActorReport -
Field Summary
Fields inherited from class org.nustaq.kontraktor.services.ServiceActor
cmdline, config, currentDistribution, dclient, DEFAULT_START_TIMEOUT, REGISTRY_DISCONNECTED, REGISTRY_RECONNECTED, serviceDescription, serviceRegistry, UNCONNECTEDFields inherited from class org.nustaq.kontraktor.Actor
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallbackFields inherited from class org.nustaq.kontraktor.Actors
CONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZE, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.nustaq.kontraktor.IPromise<PlainService>createService(String name, String[] required, ServiceArgs options) protected org.nustaq.kontraktor.remoting.base.ServiceDescriptionprotected String[]org.nustaq.kontraktor.IPromise<PlainService>initPlainService(String name, String[] requiredServices, ServiceArgs options) Methods inherited from class org.nustaq.kontraktor.services.ServiceActor
addServiceEventListener, awaitRequiredServices, awaitRequiredServicesInternal, connectRequiredServices, connectService, createDefaultConnectable, fireServiceEvent, getAllServiceNames, getCmdline, getConfig, getDataClient, getHost, getPort, getService, getServiceDescription, getServiceRegistry, getStatus, gravityDisconnected, heartBeat, init, initRealLiveDynamic, InitRealLiveDynamic, initRealLiveFixed, isDynamicDataCluster, isFixedDataCluster, notifyConfigChanged, old_initRealLiveDynamic, onRegistryConnected, onRegistryDisconnected, onServiceRegistryReconnected, publishSelf, registerSelf, removeServiceEventListener, requiredSerivceWentDown, RunTCP, RunTCP, RunTCP, RunTCP, RunTCP, RunTCP, serviceDisconnected, serviceEventMethods inherited from class org.nustaq.kontraktor.Actor
__addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __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, router$clientPing, self, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGCMethods inherited from class org.nustaq.kontraktor.Actors
AddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, kYield, kYield, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yieldCallbacks
-
Constructor Details
-
PlainService
public PlainService()
-
-
Method Details
-
createService
public static org.nustaq.kontraktor.IPromise<PlainService> createService(String name, String[] required, ServiceArgs options) -
initPlainService
public org.nustaq.kontraktor.IPromise<PlainService> initPlainService(String name, String[] requiredServices, ServiceArgs options) -
getRequiredServiceNames
- Specified by:
getRequiredServiceNamesin classServiceActor<PlainService>
-
createServiceDescription
protected org.nustaq.kontraktor.remoting.base.ServiceDescription createServiceDescription()- Specified by:
createServiceDescriptionin classServiceActor<PlainService>
-