Uses of Interface
org.nustaq.kontraktor.Callback
-
Uses of Callback in org.nustaq.kontraktor
Subinterfaces of Callback in org.nustaq.kontraktor Modifier and Type Interface Description interfaceIPromise<T>IPromise interface.Classes in org.nustaq.kontraktor that implement Callback Modifier and Type Class Description classPromise<T>implementation of the IPromise interface.Fields in org.nustaq.kontraktor declared as Callback Modifier and Type Field Description protected CallbackSpore. cbprotected CallbackPromise. resultReceiverCallback<RemoteCallEntry>Actor. zzServerMsgCallbackMethods in org.nustaq.kontraktor that return Callback Modifier and Type Method Description CallbackKFlow. callback()CallbackKFlow. cb()default CallbackCallback. pipe(T result)invalid for Promises!.Methods in org.nustaq.kontraktor with parameters of type Callback Modifier and Type Method Description voidActor. __addStopHandler(Callback<SELF> cb)voidPromise. finallyDo(Callback resultCB)same as then, but avoid creation of new promise<T> voidScheduler. runBlockingCall(Actor emitter, java.util.concurrent.Callable<T> toCall, Callback<T> resultHandler)Spore<I,O>Spore. setForEach(Callback<O> cb)use local (sender side).voidActor. 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 codeIPromise<T>IPromise. then(Callback<T> result)called once any result of a future becomes available Can be used in case a sender is not interested in the actual result but when a remote method has finished processing.IPromisePromise. then(Callback resultCB)see IPromise (inheriting Callback) interfaceConstructors in org.nustaq.kontraktor with parameters of type Callback Constructor Description KFlow(Callback originalcb) -
Uses of Callback in org.nustaq.kontraktor.impl
Classes in org.nustaq.kontraktor.impl that implement Callback Modifier and Type Class Description classCallbackWrapper<T>If a promise or callback is wrapped by this, it will be treated correctly when remoted.Methods in org.nustaq.kontraktor.impl that return Callback Modifier and Type Method Description Callback<T>CallbackWrapper. getRealCallback()Methods in org.nustaq.kontraktor.impl with parameters of type Callback Modifier and Type Method Description <T> voidRemoteScheduler. runBlockingCall(Actor emitter, java.util.concurrent.Callable<T> toCall, Callback<T> resultHandler)<T> voidSimpleScheduler. runBlockingCall(Actor emitter, java.util.concurrent.Callable<T> toCall, Callback<T> resultHandler)IPromiseCallbackWrapper. then(Callback<T> result)Warning: this will not be called on error or timeoutConstructors in org.nustaq.kontraktor.impl with parameters of type Callback Constructor Description CallbackWrapper(Actor targetQ, Callback<T> realFuture) -
Uses of Callback in org.nustaq.kontraktor.remoting.base
Methods in org.nustaq.kontraktor.remoting.base that return Callback Modifier and Type Method Description CallbackConnectionRegistry. getPublishedCallback(long id)Methods in org.nustaq.kontraktor.remoting.base with parameters of type Callback Modifier and Type Method Description default <T extends Actor>
IPromise<T>ConnectableActor. connect(Callback<ActorClientConnector> disconnectCallback)<T extends Actor>
IPromise<T>ConnectableActor. connect(Callback<ActorClientConnector> disconnectCallback, java.util.function.Consumer<Actor> actorDisconnecCB)<T extends Actor>
IPromise<T>LocalConnectable. connect(Callback<ActorClientConnector> disconnectCallback, java.util.function.Consumer<Actor> actorDisconnecCB)disconnect callback will never be called (local actor connection)longConnectionRegistry. registerPublishedCallback(Callback cb) -
Uses of Callback in org.nustaq.kontraktor.remoting.encoding
Classes in org.nustaq.kontraktor.remoting.encoding that implement Callback Modifier and Type Class Description classCallbackRefSerializer.MyRemotedCallbackMethods in org.nustaq.kontraktor.remoting.encoding that return Callback Modifier and Type Method Description CallbackRemoteCallEntry. getCB()Methods in org.nustaq.kontraktor.remoting.encoding with parameters of type Callback Modifier and Type Method Description voidRemoteCallEntry. setCB(Callback CB) -
Uses of Callback in org.nustaq.kontraktor.remoting.tcp
Fields in org.nustaq.kontraktor.remoting.tcp declared as Callback Modifier and Type Field Description protected Callback<ActorClientConnector>TCPClientConnector. disconnectCallbackMethods in org.nustaq.kontraktor.remoting.tcp with parameters of type Callback Modifier and Type Method Description <T extends Actor>
IPromise<T>TCPConnectable. connect(Callback<ActorClientConnector> disconnectCallback, java.util.function.Consumer<Actor> actorDisconnecCB)Constructors in org.nustaq.kontraktor.remoting.tcp with parameters of type Callback Constructor Description TCPClientConnector(int port, java.lang.String host, Callback<ActorClientConnector> disconnectCallback) -
Uses of Callback in org.nustaq.kontraktor.routers
Methods in org.nustaq.kontraktor.routers with parameters of type Callback Modifier and Type Method Description protected voidHotHotFailoverKrouter. dispatchImpl(RemoteCallEntry rce, ConnectionRegistry clientRemoteRegistry, boolean[] done, Callback[] selected)protected voidAbstractKrouter. forwardMultiCall(RemoteCallEntry rce, Actor remoteRef, ConnectionRegistry clientRemoteRegistry, boolean[] done, Callback[] selected)protected voidAbstractKrouter. forwardMultiCallInternal(RemoteCallEntry rceIn, Actor remoteRef, ConnectionRegistry clientRemoteRegistry, boolean[] done, Callback[] selected) -
Uses of Callback in org.nustaq.kontraktor.util
Methods in org.nustaq.kontraktor.util that return types with arguments of type Callback Modifier and Type Method Description protected java.util.Map<java.lang.Integer,Callback>SubscriptionSupport. getSubsMap()Methods in org.nustaq.kontraktor.util with parameters of type Callback Modifier and Type Method Description Promise<java.lang.Boolean>SubscriptionSupport. subscribe(int id, Callback cb)Promise<java.lang.Boolean>SubscriptionSupport. unSubscribe(int id, Callback cb)