Package org.nustaq.kontraktor.services
Class ServiceRegistry.RestApi
java.lang.Object
org.nustaq.kontraktor.Actors
org.nustaq.kontraktor.Actor<ServiceRegistry.RestApi>
org.nustaq.kontraktor.services.ServiceRegistry.RestApi
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.Executor,org.nustaq.kontraktor.monitoring.Monitorable
- Enclosing class:
- ServiceRegistry
public static class ServiceRegistry.RestApi extends org.nustaq.kontraktor.Actor<ServiceRegistry.RestApi>
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.nustaq.kontraktor.Actor
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallback -
Constructor Summary
Constructors Constructor Description RestApi() -
Method Summary
Modifier and Type Method Description org.nustaq.kontraktor.IPromiseget()org.nustaq.kontraktor.IPromisegetBalance()org.nustaq.kontraktor.IPromisegetRelease(java.lang.String shard)org.nustaq.kontraktor.IPromisegetServices()org.nustaq.kontraktor.IPromisegetStati()voidinit(ServiceRegistry reg)Methods 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
-
RestApi
public RestApi()
-
-
Method Details
-
init
-
getBalance
public org.nustaq.kontraktor.IPromise getBalance() -
getRelease
public org.nustaq.kontraktor.IPromise getRelease(java.lang.String shard) -
get
public org.nustaq.kontraktor.IPromise get() -
getServices
public org.nustaq.kontraktor.IPromise getServices() -
getStati
public org.nustaq.kontraktor.IPromise getStati()
-