Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W Y _ 

A

acceptLoop(Actor, int, Function<ObjectSocket, ObjectSink>, Promise) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
acceptSocket - Variable in class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
Actor<SELF extends Actor> - Class in org.nustaq.kontraktor
Baseclass for actor/eventloop implementations.
Actor() - Constructor for class org.nustaq.kontraktor.Actor
required by bytecode magic.
Actor.ActorReport - Class in org.nustaq.kontraktor
 
ActorBlockedException - Exception in org.nustaq.kontraktor.impl
Created by ruedi on 30.10.14.
ActorBlockedException() - Constructor for exception org.nustaq.kontraktor.impl.ActorBlockedException
 
actorClass(Class) - Method in interface org.nustaq.kontraktor.remoting.base.ConnectableActor
 
actorClass(Class) - Method in class org.nustaq.kontraktor.remoting.base.LocalConnectable
 
actorClass(Class) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
ActorClient<T extends Actor> - Class in org.nustaq.kontraktor.remoting.base
Created by ruedi on 10/05/15.
ActorClient(ActorClientConnector, Class<T>, Coding) - Constructor for class org.nustaq.kontraktor.remoting.base.ActorClient
 
ActorClientConnector - Interface in org.nustaq.kontraktor.remoting.base
Interface unifying remote actor connectors (the thingy translating local calls to remote calls).
ActorExecutorService - Class in org.nustaq.kontraktor.util
Used internally to schedule callbacks from async API onto an actor's thread.
ActorExecutorService(Actor) - Constructor for class org.nustaq.kontraktor.util.ActorExecutorService
 
actorIdCount - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
ActorProxy<T extends Actor> - Interface in org.nustaq.kontraktor
tagging interface.
ActorProxyFactory - Class in org.nustaq.kontraktor.impl
generate an actor proxy.
ActorProxyFactory() - Constructor for class org.nustaq.kontraktor.impl.ActorProxyFactory
 
ActorPublisher - Interface in org.nustaq.kontraktor.remoting.base
Configuration object to publish an actor to network.
ActorRefSerializer - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 08.08.14.
ActorRefSerializer(RemoteRegistry) - Constructor for class org.nustaq.kontraktor.remoting.encoding.ActorRefSerializer
 
ActorReport() - Constructor for class org.nustaq.kontraktor.Actor.ActorReport
 
ActorReport(String, int, int) - Constructor for class org.nustaq.kontraktor.Actor.ActorReport
 
Actors - Class in org.nustaq.kontraktor
Copyright (c) 2012, Ruediger Moeller.
Actors() - Constructor for class org.nustaq.kontraktor.Actors
 
ActorServer - Class in org.nustaq.kontraktor.remoting.base
Created by ruedi on 09/05/15.
ActorServer(ActorServerConnector, Actor, Coding) - Constructor for class org.nustaq.kontraktor.remoting.base.ActorServer
 
ActorServerConnector - Interface in org.nustaq.kontraktor.remoting.base
Created by ruedi on 09/05/15.
ActorsImpl - Class in org.nustaq.kontraktor.impl
Created by ruedi on 25/03/15.
ActorsImpl() - Constructor for class org.nustaq.kontraktor.impl.ActorsImpl
 
addActor(Actor) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
AddDeadLetter(String) - Static method in class org.nustaq.kontraktor.Actors
 
all(IPromise<T>...) - Static method in class org.nustaq.kontraktor.Actors
similar to es6 Promise.all method, however non-IPromise objects are not allowed returns a future which is settled once all promises provided are settled
all(List<IPromise<T>>) - Static method in class org.nustaq.kontraktor.Actors
similar to es6 Promise.all method, however non-IPromise objects are not allowed returns a future which is settled once all promises provided are settled
alwaysCopy() - Method in class org.nustaq.kontraktor.remoting.encoding.ActorRefSerializer
 
alwaysCopy() - Method in class org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer
 
AsActor(Class<T>) - Static method in class org.nustaq.kontraktor.Actors
create an new actor.
AsActor(Class<T>, int) - Static method in class org.nustaq.kontraktor.Actors
create an new actor.
AsActor(Class<T>, Scheduler) - Static method in class org.nustaq.kontraktor.Actors
create an new actor dispatched in the given DispatcherThread
AsActor(Class<T>, Scheduler, int) - Static method in class org.nustaq.kontraktor.Actors
create an new actor dispatched in the given DispatcherThread
AsCallback - Annotation Type in org.nustaq.kontraktor.annotations
Created by ruedi on 28.09.14.
asInputStream() - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
ask(String, Object...) - Method in class org.nustaq.kontraktor.Actor
generic method for untyped messages.
asOutputStream() - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
return a pseudo-blocking output stream.
assignDispatcher(int) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
assignDispatcher(int) - Method in interface org.nustaq.kontraktor.Scheduler
 
AsyncFile - Class in org.nustaq.kontraktor.asyncio
Created by moelrue on 5/4/15.
AsyncFile() - Constructor for class org.nustaq.kontraktor.asyncio.AsyncFile
create an unitialized AsyncFile.
AsyncFile(String) - Constructor for class org.nustaq.kontraktor.asyncio.AsyncFile
create an async file and open for read
AsyncFile(String, OpenOption...) - Constructor for class org.nustaq.kontraktor.asyncio.AsyncFile
create an async file and open with given options (e.g.
AsyncFile(Path, OpenOption...) - Constructor for class org.nustaq.kontraktor.asyncio.AsyncFile
 
AsyncFileIOEvent - Class in org.nustaq.kontraktor.asyncio
Created by moelrue on 5/4/15.
AsyncFileIOEvent(long, int, ByteBuffer) - Constructor for class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
AsyncServerSocket - Class in org.nustaq.kontraktor.asyncio
Created by ruedi on 04/05/15.
AsyncServerSocket() - Constructor for class org.nustaq.kontraktor.asyncio.AsyncServerSocket
 
AsyncSocketConnection - Class in org.nustaq.kontraktor.asyncio
Baseclass for handling async io.
AsyncSocketConnection(SelectionKey, SocketChannel) - Constructor for class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
asyncstop() - Method in class org.nustaq.kontraktor.Actor
 
await(long) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
await() - Method in interface org.nustaq.kontraktor.IPromise
schedule other events/messages until future is resolved/settled (Nonblocking wait).
await(long) - Method in interface org.nustaq.kontraktor.IPromise
schedule other events/messages until future is resolved/settled (Nonblocking delay).
await(long) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
awaitAll(long, IPromise<T>...) - Static method in class org.nustaq.kontraktor.Actors
await until all futures are settled and stream their results
awaitAll(IPromise<T>...) - Static method in class org.nustaq.kontraktor.Actors
await until all futures are settled and stream their results.
awaitAll(List<IPromise<T>>) - Static method in class org.nustaq.kontraktor.Actors
 
awaitAll(long, List<IPromise<T>>) - Static method in class org.nustaq.kontraktor.Actors
 
AwaitException - Exception in org.nustaq.kontraktor
if await is used on a Promise to wait for its result (non-blocking!) any error object returned by the Promise will trigger a this Exception.
AwaitException(Object) - Constructor for exception org.nustaq.kontraktor.AwaitException
 
awaitPromise(long) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
awaitPromise(long) - Method in interface org.nustaq.kontraktor.IPromise
schedule other events/messages until future is resolved/settled (Nonblocking delay).
awaitPromise() - Method in interface org.nustaq.kontraktor.IPromise
similar to await but does not unwrap the promise.
awaitPromise(long) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
awaitTermination(long, TimeUnit) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 

B

BackOffStrategy - Class in org.nustaq.kontraktor.impl
Created by moelrue on 06.05.2014.
BackOffStrategy() - Constructor for class org.nustaq.kontraktor.impl.BackOffStrategy
 
BackOffStrategy(int, int, int) - Constructor for class org.nustaq.kontraktor.impl.BackOffStrategy
 
backOffStrategy - Variable in class org.nustaq.kontraktor.impl.SimpleScheduler
 
BLOCKED_MS_TIL_WARN - Static variable in class org.nustaq.kontraktor.impl.SimpleScheduler
time ms until a warning is printed once a sender is blocked by a full actor queue

C

Callback<T> - Interface in org.nustaq.kontraktor
Typically used to receive/stream results from outside the actor.
CallbackRefSerializer - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 09.08.14.
CallbackRefSerializer(RemoteRegistry) - Constructor for class org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer
 
CallbackWrapper<T> - Class in org.nustaq.kontraktor.impl
..
CallbackWrapper(Actor, Callback<T>) - Constructor for class org.nustaq.kontraktor.impl.CallbackWrapper
 
CallEntry<T> - Class in org.nustaq.kontraktor.impl
Created by ruedi on 18.05.14.
CallEntry(T, Method, Object[], Actor, Actor, boolean) - Constructor for class org.nustaq.kontraktor.impl.CallEntry
 
CallerSideMethod - Annotation Type in org.nustaq.kontraktor.annotations
 
canWrite() - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
canWrite() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
car() - Method in class org.nustaq.kontraktor.util.Pair
 
catchError(Function<Object, IPromise<OUT>>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
catchError(Consumer<Object>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
catchError(Function<Object, IPromise<OUT>>) - Method in interface org.nustaq.kontraktor.IPromise
called if an error has been signaled by one of the futures in the previous future chain.
catchError(Consumer<Object>) - Method in interface org.nustaq.kontraktor.IPromise
called if an error has been signaled by one of the futures in the previous future chain.
catchError(Function<Object, IPromise<OUT>>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
catchError(Consumer<Object>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
CBQ - Static variable in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
cdr() - Method in class org.nustaq.kontraktor.util.Pair
 
chan - Variable in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
checkQSize() - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
checkThread() - Method in class org.nustaq.kontraktor.Actor
Debug method.
checkThread() - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
ClassPathProvider - Interface in org.nustaq.kontraktor.impl
Created by ruedi on 09/03/15.
cleanUp() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
cleanup after connection close
client - Variable in class org.nustaq.kontraktor.remoting.base.ActorClient
 
close() - Method in class org.nustaq.kontraktor.Actor
closes associated remote connection(s) if present.
close() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
close() - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
close() - Method in class org.nustaq.kontraktor.asyncio.AsyncServerSocket
 
close() - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
close() - Method in interface org.nustaq.kontraktor.RemoteConnection
closes the underlying connection (Warning: may side effect to other actors published on this connection)
close() - Method in class org.nustaq.kontraktor.remoting.base.ActorServer
 
close() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
close() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
closeClient() - Method in interface org.nustaq.kontraktor.remoting.base.ActorClientConnector
 
closeClient() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
closed(Exception) - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
closed(Exception) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
closeRef(CallEntry, ObjectSocket) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
closeServer() - Method in interface org.nustaq.kontraktor.remoting.base.ActorServerConnector
 
closeServer() - Method in class org.nustaq.kontraktor.remoting.tcp.NIOServerConnector
 
closeServer() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
CLSActor() - Constructor for class org.nustaq.kontraktor.asyncio._AsyncClientSocket.CLSActor
 
coding - Variable in class org.nustaq.kontraktor.remoting.base.ActorClient
 
coding - Variable in class org.nustaq.kontraktor.remoting.base.ActorServer
 
Coding - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 26.10.14.
Coding(SerializerType) - Constructor for class org.nustaq.kontraktor.remoting.encoding.Coding
 
Coding(SerializerType, Class[]) - Constructor for class org.nustaq.kontraktor.remoting.encoding.Coding
 
coding(Coding) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
coding(Coding) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
complete(T, Object) - Static method in class org.nustaq.kontraktor.Actors
abbreviation for Promise creation to make code more concise
complete() - Static method in class org.nustaq.kontraktor.Actors
abbreviation for Promise creation to make code more concise
complete(T, Object) - Method in interface org.nustaq.kontraktor.Callback
set result or error.
complete() - Method in interface org.nustaq.kontraktor.Callback
same as complete(null,null)
complete(T, Object) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
complete(Object, Object) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
conf - Variable in class org.nustaq.kontraktor.remoting.base.ActorServer
 
conf - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
configureSerialization(Coding) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
confirmMessage(CharSequence, long) - Method in class org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
 
confirmMessage(CharSequence, long) - Method in interface org.nustaq.kontraktor.remoting.base.messagestore.MessageStore
 
connect() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket.CLSActor
 
connect(String, int, BiFunction<SelectionKey, SocketChannel, AsyncSocketConnection>) - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
connect(int, BiFunction<SelectionKey, SocketChannel, AsyncSocketConnection>) - Method in class org.nustaq.kontraktor.asyncio.AsyncServerSocket
 
connect() - Method in class org.nustaq.kontraktor.remoting.base.ActorClient
 
connect(int) - Method in class org.nustaq.kontraktor.remoting.base.ActorClient
 
connect(Function<ObjectSocket, ObjectSink>) - Method in interface org.nustaq.kontraktor.remoting.base.ActorClientConnector
 
connect(Actor, Function<ObjectSocket, ObjectSink>) - Method in interface org.nustaq.kontraktor.remoting.base.ActorServerConnector
 
connect(Callback<ActorClientConnector>) - Method in interface org.nustaq.kontraktor.remoting.base.ConnectableActor
 
connect(Callback<ActorClientConnector>) - Method in class org.nustaq.kontraktor.remoting.base.LocalConnectable
disconnect callback will never be called (local actor connection)
connect(Actor, Function<ObjectSocket, ObjectSink>) - Method in class org.nustaq.kontraktor.remoting.tcp.NIOServerConnector
 
connect(Function<ObjectSocket, ObjectSink>) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
connect(Callback<ActorClientConnector>) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
connect(Actor, Function<ObjectSocket, ObjectSink>) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
ConnectableActor - Interface in org.nustaq.kontraktor.remoting.base
Created by ruedi on 18/05/15.
connector - Variable in class org.nustaq.kontraktor.remoting.base.ActorServer
 
CONT - Static variable in class org.nustaq.kontraktor.Actors
use value as error to indicate more messages are to come (else remoting will close channel).
CONT - Static variable in interface org.nustaq.kontraktor.Callback
use value as error to indicate more messages are to come (else remoting will close channel).
copyBytes() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
count() - Method in class org.nustaq.kontraktor.util.RateMeasure
 
countDown() - Method in class org.nustaq.kontraktor.util.PromiseLatch
 
countDown(T, Object) - Method in class org.nustaq.kontraktor.util.PromiseLatch
 
countUp(int) - Method in class org.nustaq.kontraktor.util.PromiseLatch
 
createConf() - Method in class org.nustaq.kontraktor.remoting.encoding.Coding
 
createProxyClass(Class<T>, ClassLoader) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
createQueue(int) - Method in class org.nustaq.kontraktor.impl.ActorsImpl
 
current() - Static method in class org.nustaq.kontraktor.Actor
 

D

dataReceived(ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
dataReceived(BinaryQueue) - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
dataReceived(ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
dataReceived(BinaryQueue) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
DeadLetters() - Static method in class org.nustaq.kontraktor.Actors
messages that have been dropped or have been sent to stopped actors
deadLetters - Variable in class org.nustaq.kontraktor.impl.ActorsImpl
 
DEBUG - Static variable in class org.nustaq.kontraktor.util.Log
 
Debug(String) - Static method in class org.nustaq.kontraktor.util.Log
 
Debug(Object, String) - Static method in class org.nustaq.kontraktor.util.Log
 
debug(Object, String) - Method in class org.nustaq.kontraktor.util.Log
 
DEBUG_SCHEDULING - Static variable in class org.nustaq.kontraktor.impl.SimpleScheduler
 
DEFAULT_TIMOUT - Static variable in class org.nustaq.kontraktor.Actors
 
defaultLogger - Variable in class org.nustaq.kontraktor.util.Log
 
defaultScheduler - Static variable in class org.nustaq.kontraktor.Actors
 
defineProxyFields(ClassPool, CtClass) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
defineProxyMethods(CtClass, CtClass) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
DEFQSIZE - Static variable in class org.nustaq.kontraktor.impl.SimpleScheduler
 
delayed(long, Runnable) - Method in class org.nustaq.kontraktor.Actor
schedule an action or call delayed.
delayedCall(long, Runnable) - Method in class org.nustaq.kontraktor.impl.RemoteScheduler
 
delayedCall(long, Runnable) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
delayedCall(long, Runnable) - Method in interface org.nustaq.kontraktor.Scheduler
 
delayedCalls - Static variable in class org.nustaq.kontraktor.Actors
 
directWrite(ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
disconnectCallback - Variable in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
disconnectHandler - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
DispatcherReport() - Constructor for class org.nustaq.kontraktor.impl.DispatcherThread.DispatcherReport
 
DispatcherReport(String, int, int, int) - Constructor for class org.nustaq.kontraktor.impl.DispatcherThread.DispatcherReport
 
DispatcherThread - Class in org.nustaq.kontraktor.impl
Implements the default dispatcher/scheduling of actors.
DispatcherThread(Scheduler) - Constructor for class org.nustaq.kontraktor.impl.DispatcherThread
 
DispatcherThread(Scheduler, boolean) - Constructor for class org.nustaq.kontraktor.impl.DispatcherThread
 
DispatcherThread.DispatcherReport - Class in org.nustaq.kontraktor.impl
 
DUMP_CATCHED - Static variable in class org.nustaq.kontraktor.impl.DispatcherThread
 

E

each(Consumer<T>) - Method in class org.nustaq.kontraktor.util.Hoarde
iterate over each actor and execute tocall.
each(BiConsumer<T, Integer>) - Method in class org.nustaq.kontraktor.util.Hoarde
same as other each but with index
enqueueCall(Actor, Actor, String, Object[], boolean) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
enqueueCall(Actor, Actor, String, Object[], boolean) - Method in interface org.nustaq.kontraktor.Scheduler
 
enqueueCallFromRemote(RemoteRegistry, Actor, Actor, String, Object[], boolean) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
enqueueCallFromRemote(RemoteRegistry, Actor, Actor, String, Object[], boolean) - Method in interface org.nustaq.kontraktor.Scheduler
 
error - Variable in class org.nustaq.kontraktor.Promise
 
ERROR - Static variable in class org.nustaq.kontraktor.util.Log
 
Error(Object, String) - Static method in class org.nustaq.kontraktor.util.Log
 
Error(Object, Throwable) - Static method in class org.nustaq.kontraktor.util.Log
 
Error(Object, Throwable, String) - Static method in class org.nustaq.kontraktor.util.Log
 
error(Object, Throwable, String) - Method in class org.nustaq.kontraktor.util.Log
 
exec(Callable<T>) - Method in class org.nustaq.kontraktor.Actor
execute a callable asynchronously (in a different thread) and return a future of the result (delivered in caller thread).
exec - Static variable in class org.nustaq.kontraktor.Actors
 
execute(Runnable) - Method in class org.nustaq.kontraktor.Actor
just enqueue given runable to this actors mailbox and execute on the actor's thread
execute(Runnable) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 

F

facade - Variable in class org.nustaq.kontraktor.remoting.base.ActorServer
 
facade(Actor) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
facadeClass - Variable in class org.nustaq.kontraktor.remoting.base.ActorClient
 
factory - Variable in class org.nustaq.kontraktor.impl.ActorsImpl
 
fillInStackTrace() - Method in exception org.nustaq.kontraktor.impl.ActorBlockedException
 
fillInStackTrace() - Method in exception org.nustaq.kontraktor.impl.InternalActorStoppedException
 
FIN - Static variable in class org.nustaq.kontraktor.Actors
use this value to signal no more messages.
FIN - Static variable in interface org.nustaq.kontraktor.Callback
use this value to signal no more messages.
finallyDo(Callback) - Method in class org.nustaq.kontraktor.Promise
same as then, but avoid creation of new promise
finish() - Method in interface org.nustaq.kontraktor.Callback
signal end of streamed objects (required for remoteref housekeeping if actors run remotely) same as complete( null, FIN );
finish() - Method in class org.nustaq.kontraktor.Spore
to be called at remote side when using streaming to deliver multiple results, call this in order to signal no further results are expected.
finished - Variable in class org.nustaq.kontraktor.Spore
 
FINSILENT - Static variable in class org.nustaq.kontraktor.Actors
use value to signal no more messages.
FINSILENT - Static variable in interface org.nustaq.kontraktor.Callback
use value to signal no more messages will be sent.
flush() - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
flush() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
forEach(Callback<O>) - Method in class org.nustaq.kontraktor.Spore
local.

G

GenRemote - Annotation Type in org.nustaq.kontraktor.annotations
specifies a wrapper for other languages should be generated
get() - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
get() - Method in interface org.nustaq.kontraktor.IPromise
Warning: this is different to JDK's BLOCKING future
get() - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
get() - Static method in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
in case clients are connected from non actor world, provide a global actor(thread) for remote client processing (=polling queues, encoding)
getAccumulatedQSizes() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
accumulated queue sizes of all actors
getActor() - Method in class org.nustaq.kontraktor.Actor
 
getActor() - Method in interface org.nustaq.kontraktor.ActorProxy
 
getActor() - Method in class org.nustaq.kontraktor.remoting.base.LocalConnectable
 
getActor(int) - Method in class org.nustaq.kontraktor.util.Hoarde
 
getActorClz() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
getActorRef() - Method in class org.nustaq.kontraktor.Actor
 
getActors() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getArgs() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getArgs() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
getBackoffStrategy() - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getBackoffStrategy() - Method in interface org.nustaq.kontraktor.Scheduler
 
getBuffer() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
getCallbackSize() - Method in class org.nustaq.kontraktor.Actor
 
getCbqSize() - Method in class org.nustaq.kontraktor.Actor.ActorReport
 
getClassPath() - Method in interface org.nustaq.kontraktor.impl.ClassPathProvider
 
getClz() - Method in class org.nustaq.kontraktor.Actor.ActorReport
 
getCoding() - Method in class org.nustaq.kontraktor.remoting.encoding.Coding
 
getCoding() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
getConf() - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
getConf() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
getConf() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getConnection() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
getConnector() - Method in class org.nustaq.kontraktor.remoting.base.ActorServer
 
getCount() - Method in class org.nustaq.kontraktor.util.PromiseLatch
debug, cannot be used to implement reliable logic in a concurrent environment
getCrossPlatformShortClazzNames() - Method in class org.nustaq.kontraktor.remoting.encoding.Coding
 
getCurrentDispatcher() - Method in class org.nustaq.kontraktor.Actor
 
getDeadLetters() - Method in class org.nustaq.kontraktor.impl.ActorsImpl
 
getDefaultQSize() - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getDefaultQSize() - Method in interface org.nustaq.kontraktor.Scheduler
 
getDefQSize() - Method in class org.nustaq.kontraktor.impl.SchedulingReport
 
getDisconnectHandler() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getError() - Method in exception org.nustaq.kontraktor.AwaitException
 
getError() - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
getError() - Method in interface org.nustaq.kontraktor.IPromise
 
getError() - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
getFacade() - Method in class org.nustaq.kontraktor.remoting.base.ActorServer
 
getFacade() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
getFacadeActor() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getFacadeProxy() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getFactory() - Method in class org.nustaq.kontraktor.Actor
 
getFactory() - Method in class org.nustaq.kontraktor.impl.ActorsImpl
 
getFirst() - Method in class org.nustaq.kontraktor.util.Pair
 
getFutureCB() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getFutureKey() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
getHost() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
getId() - Method in class org.nustaq.kontraktor.Promise
remoting helper
getInvoker(Actor, Object) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getInvoker(Actor, Object) - Method in interface org.nustaq.kontraktor.Scheduler
 
getLast() - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
getLastError() - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
getLastError() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
getLoad() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getMailboxSize() - Method in class org.nustaq.kontraktor.Actor.ActorReport
 
getMailboxSize() - Method in class org.nustaq.kontraktor.Actor
 
getMessage(CharSequence, long) - Method in class org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
 
getMessage(CharSequence, long) - Method in interface org.nustaq.kontraktor.remoting.base.messagestore.MessageStore
 
getMethod() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getMethod() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
getName() - Method in class org.nustaq.kontraktor.impl.DispatcherThread.DispatcherReport
 
getNanosToPark() - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 
getNext() - Method in class org.nustaq.kontraktor.Promise
special method for tricky things.
getNextPosition() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
getNumActors() - Method in class org.nustaq.kontraktor.impl.DispatcherThread.DispatcherReport
 
getNumActors() - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getNumActors() - Method in interface org.nustaq.kontraktor.Scheduler
 
getNumDispatchers() - Method in class org.nustaq.kontraktor.impl.SchedulingReport
 
getPort() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
getPort() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
getPromise() - Method in class org.nustaq.kontraktor.util.PromiseLatch
 
getPublishedActor(int) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getPublishedCallback(int) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getQSize() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getQSizes() - Method in class org.nustaq.kontraktor.Actor
 
getQueue() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
getRead() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
getReceiverKey() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
getRemoteActors() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getRemoteActorSize() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getRemoteCallInterceptor() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getRemoteId(Actor) - Method in interface org.nustaq.kontraktor.RemoteConnection
 
getRemoteId(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getRemoteRefRegistry() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getReport() - Method in class org.nustaq.kontraktor.Actor
 
getReport() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getReport() - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getReport() - Method in interface org.nustaq.kontraktor.monitoring.Monitorable
 
getScheduler() - Method in class org.nustaq.kontraktor.Actor
 
getScheduler() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getScheduler() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
getSecond() - Method in class org.nustaq.kontraktor.util.Pair
 
getSendingActor() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getSeverity() - Method in class org.nustaq.kontraktor.util.Log
 
getSize() - Method in class org.nustaq.kontraktor.util.Hoarde
 
getSortedNonPublicCtMethods(CtClass) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
getSortedPublicCtMethods(CtClass, boolean) - Static method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
getSubMonitorables() - Method in class org.nustaq.kontraktor.Actor
 
getSubMonitorables() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
getSubMonitorables() - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
getSubMonitorables() - Method in interface org.nustaq.kontraktor.monitoring.Monitorable
 
getTarget() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getTargetActor() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
getThrowExWhenBlocked() - Method in class org.nustaq.kontraktor.Actor
 
getTicket(Object) - Method in class org.nustaq.kontraktor.util.TicketMachine
 
getTickets() - Method in class org.nustaq.kontraktor.util.TicketMachine
 
getWriteObjectSocket() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 

H

hadResult - Variable in class org.nustaq.kontraktor.Promise
 
hasBeenUnpublished() - Method in interface org.nustaq.kontraktor.remoting.base.RemotedActor
notification method called once an actor has been unpublished.
hasFired - Variable in class org.nustaq.kontraktor.Promise
 
hasFutureResult() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
HeapMessageStore - Class in org.nustaq.kontraktor.remoting.base.messagestore
Created by ruedi on 13/04/15.
HeapMessageStore(int) - Constructor for class org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
 
Hoarde<T extends Actor> - Class in org.nustaq.kontraktor.util
Created by ruedi on 07.09.14.
Hoarde(int, Class<T>) - Constructor for class org.nustaq.kontraktor.util.Hoarde
create a hoarde with each actor having a dedicated thread
Hoarde(int, Class<T>, Scheduler) - Constructor for class org.nustaq.kontraktor.util.Hoarde
create a hoarde scheduled on given scheduler
host - Variable in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
host(String) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 

I

INFO - Static variable in class org.nustaq.kontraktor.util.Log
 
Info(Object, String) - Static method in class org.nustaq.kontraktor.util.Log
 
Info(Object, Throwable) - Static method in class org.nustaq.kontraktor.util.Log
 
Info(Object, Throwable, String) - Static method in class org.nustaq.kontraktor.util.Log
 
info(Object, String) - Method in class org.nustaq.kontraktor.util.Log
 
infoLong(Object, Throwable, String) - Method in class org.nustaq.kontraktor.util.Log
 
inside() - Static method in class org.nustaq.kontraktor.Actor
 
instance - Static variable in class org.nustaq.kontraktor.Actors
 
Instance - Static variable in exception org.nustaq.kontraktor.impl.ActorBlockedException
 
Instance - Static variable in exception org.nustaq.kontraktor.impl.InternalActorStoppedException
 
INSTANCE - Static variable in class org.nustaq.kontraktor.Timeout
 
instantiate(Class, FSTObjectInput, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.ActorRefSerializer
 
instantiate(Class, FSTObjectInput, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer
 
instantiate(Class, FSTObjectInput, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.SporeRefSerializer
 
instantiate(Class, FSTObjectInput, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.TimeoutSerializer
 
instantiateProxy(Actor) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
InternalActorStoppedException - Exception in org.nustaq.kontraktor.impl
Created by ruedi on 15.06.14.
InternalActorStoppedException() - Constructor for exception org.nustaq.kontraktor.impl.InternalActorStoppedException
 
inThread(Actor, T) - Method in class org.nustaq.kontraktor.Actor
wraps an interface into a proxy of that interface.
InThread(T) - Static method in class org.nustaq.kontraktor.Actors
in case called from an actor, wraps the given interface instance into a proxy such that all calls on the interface get scheduled on the calling actors thread (avoids accidental multithreading when handing out callback/listener interfaces from an actor) if called from outside an actor thread, NOP
InThread - Annotation Type in org.nustaq.kontraktor.annotations
 
inThread(Actor, T) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
inThread(Actor, T) - Method in interface org.nustaq.kontraktor.Scheduler
Creates a wrapper on the given object enqueuing all calls to INTERFACE methods of the given object to the given actors's queue.
invokeAll(Collection<? extends Callable<T>>) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
IPromise<T> - Interface in org.nustaq.kontraktor
IPromise interface.
isCallback() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
isCallbackQPressured() - Method in class org.nustaq.kontraktor.Actor
 
isClosed() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
isClosed() - Method in class org.nustaq.kontraktor.asyncio.AsyncServerSocket
 
isClosed() - Method in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
isCont(Object) - Static method in class org.nustaq.kontraktor.Actors
helper to check for "special" error objects.
isEmpty() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
isError(Object) - Static method in class org.nustaq.kontraktor.Actors
helper to check for "special" error objects.
isFinal(Object) - Static method in class org.nustaq.kontraktor.Actors
return if given error Object signals end of callback stream
isFinished() - Method in class org.nustaq.kontraktor.Spore
to be read at remote side in order to decide wether to stop e.g.
isIsolated() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
isMailboxPressured() - Method in class org.nustaq.kontraktor.Actor
 
isObsolete - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
isObsolete() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
isProxy() - Method in class org.nustaq.kontraktor.Actor
 
isPublished() - Method in class org.nustaq.kontraktor.Actor
 
isRemote() - Method in class org.nustaq.kontraktor.Actor
 
isResult(Object) - Static method in class org.nustaq.kontraktor.Actors
 
isSettled() - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
isSettled() - Method in interface org.nustaq.kontraktor.IPromise
 
isSettled() - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
isShutDown() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
isShutdown() - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
isSilentFinal(Object) - Static method in class org.nustaq.kontraktor.Actors
helper to check for "special" error objects.
isSleeping(int) - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 
isStopped() - Method in class org.nustaq.kontraktor.Actor
synchronous method returning true in case this actor is stopped
isTerminated() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
isTerminated() - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
isYielding(int) - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 

K

key - Variable in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
killQueue(CharSequence) - Method in class org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
 
killQueue(CharSequence) - Method in interface org.nustaq.kontraktor.remoting.base.messagestore.MessageStore
 
KTimeoutException - Exception in org.nustaq.kontraktor
Created by ruedi on 26/03/15.
KTimeoutException() - Constructor for exception org.nustaq.kontraktor.KTimeoutException
 

L

length() - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
Lg - Static variable in class org.nustaq.kontraktor.util.Log
 
loadProxyClass(Class, ClassPool, CtClass) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
Local - Annotation Type in org.nustaq.kontraktor.annotations
 
LocalConnectable - Class in org.nustaq.kontraktor.remoting.base
Created by ruedi on 19/05/15.
LocalConnectable(Actor) - Constructor for class org.nustaq.kontraktor.remoting.base.LocalConnectable
 
Log - Class in org.nustaq.kontraktor.util
Created by ruedi on 24.08.14.
Log() - Constructor for class org.nustaq.kontraktor.util.Log
 
Log.LogWrapper - Interface in org.nustaq.kontraktor.util
 
loop() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket.CLSActor
 

M

MAILBOX - Static variable in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
main(String[]) - Static method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
makeProxy(Class<? extends Actor>, DispatcherThread, int) - Method in class org.nustaq.kontraktor.impl.ActorsImpl
 
map(BiFunction<T, Integer, IPromise<X>>) - Method in class org.nustaq.kontraktor.util.Hoarde
 
MAX_BATCH_CALLS - Static variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
MAX_EXTERNAL_THREADS_POOL_SIZE - Static variable in class org.nustaq.kontraktor.Actors
 
MAX_Q_SIZE_BYTES - Static variable in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
MessageStore - Interface in org.nustaq.kontraktor.remoting.base.messagestore
Created by ruedi on 13/04/15.
MILLIS_AFTER_CREATION_BEFORE_REBALANCING - Static variable in class org.nustaq.kontraktor.impl.DispatcherThread
 
Monitorable - Interface in org.nustaq.kontraktor.monitoring
Created by ruedi on 18.10.14.
msg(Thread, int, Object, Throwable, String) - Method in interface org.nustaq.kontraktor.util.Log.LogWrapper
 
msg(Thread, int, Object, Throwable, String) - Method in class org.nustaq.kontraktor.util.Log
 
MustBeRunFromActorThread - Exception in org.nustaq.kontraktor
Created by ruedi on 09/05/15.
MustBeRunFromActorThread() - Constructor for exception org.nustaq.kontraktor.MustBeRunFromActorThread
 
myThread - Variable in class org.nustaq.kontraktor.impl.SimpleScheduler
 

N

newProxy(Class<? extends Actor>, Scheduler, int) - Method in class org.nustaq.kontraktor.impl.ActorsImpl
 
NIOServerConnector - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 10/05/15.
NIOServerConnector(int) - Constructor for class org.nustaq.kontraktor.remoting.tcp.NIOServerConnector
 

O

OBJECT_MAX_BATCH_SIZE - Static variable in interface org.nustaq.kontraktor.remoting.base.ActorClientConnector
used in most client and server connector implementations
ObjectAsyncSocketConnection - Class in org.nustaq.kontraktor.asyncio
Created by moelrue on 5/7/15.
ObjectAsyncSocketConnection(SelectionKey, SocketChannel) - Constructor for class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
ObjectAsyncSocketConnection(FSTConfiguration, SelectionKey, SocketChannel) - Constructor for class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
ObjectSink - Interface in org.nustaq.kontraktor.remoting.base
Created by ruedi on 09/05/15.
ObjectSocket - Interface in org.nustaq.kontraktor.remoting.base
Created by moelrue on 5/7/15.
onePoll() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRefPolling
 
onError(Consumer) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
onError(Consumer<Object>) - Method in interface org.nustaq.kontraktor.IPromise
called when an error is set as the result forwards to (new) "catchError" variant.
onError(Consumer) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
onFinish(Runnable) - Method in class org.nustaq.kontraktor.Spore
 
onResult(Consumer<T>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
onResult(Consumer<T>) - Method in interface org.nustaq.kontraktor.IPromise
called when a valid result of a future becomes available.
onResult(Consumer<T>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
onTimeout(Consumer) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
onTimeout(Consumer) - Method in interface org.nustaq.kontraktor.IPromise
called when the async call times out.
onTimeout(Runnable) - Method in interface org.nustaq.kontraktor.IPromise
 
onTimeout(Consumer) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
open(Path, OpenOption...) - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
ordered(Function<T, IPromise>) - Method in class org.nustaq.kontraktor.util.Hoarde
calls given function round robin.
org.nustaq.kontraktor - package org.nustaq.kontraktor
 
org.nustaq.kontraktor.annotations - package org.nustaq.kontraktor.annotations
 
org.nustaq.kontraktor.asyncio - package org.nustaq.kontraktor.asyncio
 
org.nustaq.kontraktor.impl - package org.nustaq.kontraktor.impl
 
org.nustaq.kontraktor.monitoring - package org.nustaq.kontraktor.monitoring
 
org.nustaq.kontraktor.remoting.base - package org.nustaq.kontraktor.remoting.base
 
org.nustaq.kontraktor.remoting.base.messagestore - package org.nustaq.kontraktor.remoting.base.messagestore
 
org.nustaq.kontraktor.remoting.encoding - package org.nustaq.kontraktor.remoting.encoding
 
org.nustaq.kontraktor.remoting.tcp - package org.nustaq.kontraktor.remoting.tcp
 
org.nustaq.kontraktor.util - package org.nustaq.kontraktor.util
 
OUT_OF_ORDER_SEQ - Static variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 

P

Pair<CAR,CDR> - Class in org.nustaq.kontraktor.util
Created by ruedi on 03/05/15.
Pair(CAR, CDR) - Constructor for class org.nustaq.kontraktor.util.Pair
 
PARK_UNTIL_SLEEP - Static variable in class org.nustaq.kontraktor.impl.BackOffStrategy
 
ping() - Method in class org.nustaq.kontraktor.Actor
can be used to wait for all messages having been processed and get a signal from the returned future once this is complete
pollAndSend2Remote(ObjectSocket) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
poll remote actor proxies and send.
pollDelay(int) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
pollDelay(int) - Method in interface org.nustaq.kontraktor.Scheduler
 
poller - Variable in class org.nustaq.kontraktor.remoting.base.ActorClient
 
poller - Variable in class org.nustaq.kontraktor.remoting.base.ActorServer
 
pollQs() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
pollQs(Actor[]) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
pollQueues(Actor[]) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
port - Variable in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
port(int) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
port(int) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
processRemoteCallEntry(ObjectSocket, RemoteCallEntry, List<IPromise>) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
Promise<T> - Class in org.nustaq.kontraktor
implementation of the IPromise interface.
Promise(T, Object) - Constructor for class org.nustaq.kontraktor.Promise
create a settled Promise by either providing an result or error.
Promise(T) - Constructor for class org.nustaq.kontraktor.Promise
create a resolved Promise by providing a result (cane be null).
Promise() - Constructor for class org.nustaq.kontraktor.Promise
create an unfulfilled/unsettled Promise
PromiseLatch<T> - Class in org.nustaq.kontraktor.util
Created by ruedi on 27.07.14.
PromiseLatch(IPromise<T>) - Constructor for class org.nustaq.kontraktor.util.PromiseLatch
 
PromiseLatch(int, IPromise<T>) - Constructor for class org.nustaq.kontraktor.util.PromiseLatch
 
PromiseLatch(int) - Constructor for class org.nustaq.kontraktor.util.PromiseLatch
 
PromiseLatch(IPromise<T>, int) - Constructor for class org.nustaq.kontraktor.util.PromiseLatch
 
publish() - Method in interface org.nustaq.kontraktor.remoting.base.ActorPublisher
 
Publish(Actor, int, Coding) - Static method in class org.nustaq.kontraktor.remoting.tcp.NIOServerConnector
 
publish() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
publish() - Method in class org.nustaq.kontraktor.remoting.tcp.TCPPublisher
 
Publish(Actor, int, Coding) - Static method in class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
publishActor(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
publishedActorMapping - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
publishedActorMappingReverse - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
put2QueuePolling(Queue, boolean, Object, Object) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
put2QueuePolling(CallEntry) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
put2QueuePolling(Queue, boolean, Object, Object) - Method in interface org.nustaq.kontraktor.Scheduler
 
putMessage(CharSequence, long, Object) - Method in class org.nustaq.kontraktor.remoting.base.messagestore.HeapMessageStore
 
putMessage(CharSequence, long, Object) - Method in interface org.nustaq.kontraktor.remoting.base.messagestore.MessageStore
 

Q

QUEUE_PERCENTAGE_TRIGGERING_REBALANCE - Static variable in class org.nustaq.kontraktor.impl.DispatcherThread
 
QueuingAsyncSocketConnection - Class in org.nustaq.kontraktor.asyncio
Created by moelrue on 5/5/15.
QueuingAsyncSocketConnection(SelectionKey, SocketChannel) - Constructor for class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 

R

race(IPromise<T>...) - Static method in class org.nustaq.kontraktor.Actors
similar to es6 Promise.race method, however non-IPromise objects are not allowed returns a future which is settled once one of the futures provided gets settled
race(Collection<IPromise<T>>) - Static method in class org.nustaq.kontraktor.Actors
similar to es6 Promise.race method, however non-IPromise objects are not allowed returns a future which is settled once one of the futures provided gets settled
RateMeasure - Class in org.nustaq.kontraktor.util
Created with IntelliJ IDEA.
RateMeasure(String, long) - Constructor for class org.nustaq.kontraktor.util.RateMeasure
 
RateMeasure(String) - Constructor for class org.nustaq.kontraktor.util.RateMeasure
 
read(long, int, ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
readBuf - Variable in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
readFully() - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
readObject(FSTObjectInput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo) - Method in class org.nustaq.kontraktor.remoting.encoding.ActorRefSerializer
 
readObject(FSTObjectInput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo) - Method in class org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer
 
readObject(FSTObjectInput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo) - Method in class org.nustaq.kontraktor.remoting.encoding.SporeRefSerializer
 
readQueue - Variable in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
rebalance(DispatcherThread) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
rebalance(DispatcherThread) - Method in interface org.nustaq.kontraktor.Scheduler
called from inside overloaded thread with load all actors assigned to the calling thread therefore can be safely moved
receiveCBResult(ObjectSocket, int, Object, Object) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
receivedObject(Object) - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
receiveLoop() - Method in class org.nustaq.kontraktor.asyncio.AsyncServerSocket
 
receiveObject(ObjectSink, Object, List<IPromise>) - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSink
 
receiveObject(Object, List<IPromise>) - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSink
 
receiveObject(ObjectSocket, ObjectSink, Object, List<IPromise>) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
process a remote call entry or an array of remote call entries.
Register - Annotation Type in org.nustaq.kontraktor.annotations
Created by ruedi on 04.04.2015.
registerDefaultClassMappings(FSTConfiguration) - Static method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
registerPublishedCallback(Callback) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
registerRemoteActorRef(Class, int, Object) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
registerRemoteRefDirect(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
reject(Object) - Static method in class org.nustaq.kontraktor.Actors
abbreviation for Promise creation to make code more concise
reject(Object) - Method in interface org.nustaq.kontraktor.Callback
signal an error to sender.
remote(I) - Method in class org.nustaq.kontraktor.Spore
implements code to be executed at receiver side
RemoteActorInterface - Annotation Type in org.nustaq.kontraktor.annotations
Created by ruedi on 28.09.14.
remoteActors - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
remoteActorSet - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
RemoteCallEntry - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 08.08.14.
RemoteCallEntry(int, int, String, Object[]) - Constructor for class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
remoteCallInterceptor - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
RemoteConnection - Interface in org.nustaq.kontraktor
Created by ruedi on 24.08.2014.
RemotedActor - Interface in org.nustaq.kontraktor.remoting.base
optional interface implementing some notification callbacks related to remoting.
RemoteRefPolling - Class in org.nustaq.kontraktor.remoting.base
polls queues of remote actor proxies and serializes messages to their associated object sockets.
RemoteRefPolling() - Constructor for class org.nustaq.kontraktor.remoting.base.RemoteRefPolling
 
RemoteRefPolling.ScheduleEntry - Class in org.nustaq.kontraktor.remoting.base
 
remoteRefStopped(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
warning: MThreaded
RemoteRegistry - Class in org.nustaq.kontraktor.remoting.base
Created by moelrue on 5/7/15.
RemoteRegistry(FSTConfiguration, Coding) - Constructor for class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
RemoteRegistry(Coding) - Constructor for class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
RemoteScheduler - Class in org.nustaq.kontraktor.impl
Created by ruedi on 08.08.14.
RemoteScheduler() - Constructor for class org.nustaq.kontraktor.impl.RemoteScheduler
 
RemoteScheduler(int) - Constructor for class org.nustaq.kontraktor.impl.RemoteScheduler
 
RemotingHelper() - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector.RemotingHelper
 
removePublishedObject(int) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
removeRemoteActor(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
reset() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
resetToSysout() - Method in class org.nustaq.kontraktor.util.Log
 
resolve(T) - Static method in class org.nustaq.kontraktor.Actors
abbreviation for Promise creation to make code more concise
resolve() - Static method in class org.nustaq.kontraktor.Actors
abbreviation for Promise creation to make code more concise
resolve() - Method in interface org.nustaq.kontraktor.Callback
same as complete(null,null) and resolve(null)
resolve(T) - Method in interface org.nustaq.kontraktor.Callback
pass a result object to the sender.
result - Variable in class org.nustaq.kontraktor.Promise
 
resultReceiver - Variable in class org.nustaq.kontraktor.Promise
 
run() - Method in class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
run() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
run() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRefPolling
 
runBlockingCall(Actor, Callable<T>, Callback<T>) - Method in class org.nustaq.kontraktor.impl.RemoteScheduler
 
runBlockingCall(Actor, Callable<T>, Callback<T>) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
runBlockingCall(Actor, Callable<T>, Callback<T>) - Method in interface org.nustaq.kontraktor.Scheduler
 

S

SCHEDULE_TICK_NANOS - Static variable in class org.nustaq.kontraktor.impl.DispatcherThread
 
ScheduleEntry(RemoteRegistry, Promise) - Constructor for class org.nustaq.kontraktor.remoting.base.RemoteRefPolling.ScheduleEntry
 
schedulePendingAdds() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
add actors which have been marked to be scheduled on this
scheduler - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
Scheduler - Interface in org.nustaq.kontraktor
Scheduler manages scheduling of actors to threads.
schedules(Object) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
can be called from the dispacther thread itself only
scheduleSendLoop(RemoteRegistry) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRefPolling
return a future which is completed upon connection close
SchedulingReport - Class in org.nustaq.kontraktor.impl
Created by ruedi on 02/04/15.
SchedulingReport() - Constructor for class org.nustaq.kontraktor.impl.SchedulingReport
 
SchedulingReport(int, int, int) - Constructor for class org.nustaq.kontraktor.impl.SchedulingReport
 
self() - Method in class org.nustaq.kontraktor.Actor
use this to call public methods using actor-dispatch instead of direct in-thread call.
sender - Static variable in class org.nustaq.kontraktor.Actor
contains sender of a message if one actor messages to another actor
SerializerType - Enum in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 26.10.14.
serialOn(Object, Consumer<IPromise>) - Method in class org.nustaq.kontraktor.Actor
enforce serial execution of asynchronous tasks.
serType(SerializerType) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
serType(SerializerType) - Method in class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
setArgs(Object[]) - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
setClassLoader(ClassLoader) - Method in interface org.nustaq.kontraktor.RemoteConnection
 
setClassLoader(ClassLoader) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
setConf(FSTConfiguration) - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
setConf(FSTConfiguration) - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
set by outer machinery
setCounters(int, int, int) - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 
setDisconnectHandler(Consumer<Actor>) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
setFacadeActor(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
setFutureCB(IPromise) - Method in class org.nustaq.kontraktor.impl.CallEntry
 
setFutureKey(int) - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
setId(String) - Method in class org.nustaq.kontraktor.Promise
remoting helper
setIsObsolete(boolean) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
give the application a way to explecitely flag a connection as obsolete
setIsolated(boolean) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
setLastError(Throwable) - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
setLastError(Throwable) - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
setLogWrapper(Log.LogWrapper) - Method in class org.nustaq.kontraktor.util.Log
 
setMethod(String) - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
setNanosToPark(int) - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 
setQueue(int) - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
setReceiverKey(int) - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
setRemoteCallInterceptor(BiFunction<Actor, String, Boolean>) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
setRemoteRefRegistry(RemoteRegistry) - Method in class org.nustaq.kontraktor.impl.CallEntry
 
setSeverity(int) - Method in class org.nustaq.kontraktor.util.Log
 
setTerminated(boolean) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
setThrowExWhenBlocked(boolean) - Method in class org.nustaq.kontraktor.Actor
tell the execution machinery to throw an ActorBlockedException in case the actor is blocked trying to put a message on an overloaded actor's mailbox/queue.
shutDown - Variable in class org.nustaq.kontraktor.impl.DispatcherThread
 
shutDown() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
terminate operation after emptying Q
shutdown() - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
shutDownImmediate() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
terminate operation immediately.
shutdownNow() - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
SimpleScheduler - Class in org.nustaq.kontraktor.impl
Created by ruedi on 02/04/15.
SimpleScheduler(String) - Constructor for class org.nustaq.kontraktor.impl.SimpleScheduler
 
SimpleScheduler() - Constructor for class org.nustaq.kontraktor.impl.SimpleScheduler
 
SimpleScheduler(int) - Constructor for class org.nustaq.kontraktor.impl.SimpleScheduler
 
singleton - Static variable in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
sinkClosed() - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSink
 
SLEEP_NANOS - Static variable in class org.nustaq.kontraktor.impl.BackOffStrategy
 
socket - Variable in class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
SPIN_UNTIL_YIELD - Static variable in class org.nustaq.kontraktor.impl.BackOffStrategy
 
Spore<I,O> - Class in org.nustaq.kontraktor
A Spore is sent to a foreign actor executes on its data and sends results back to caller.
Spore() - Constructor for class org.nustaq.kontraktor.Spore
 
SporeRefSerializer - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 26.08.14.
SporeRefSerializer() - Constructor for class org.nustaq.kontraktor.remoting.encoding.SporeRefSerializer
 
start() - Method in class org.nustaq.kontraktor.remoting.base.ActorServer
 
statsUpdated(long) - Method in class org.nustaq.kontraktor.util.RateMeasure
override this
stop() - Method in class org.nustaq.kontraktor.Actor
stop receiving events.
StoppedActorTargetedException - Exception in org.nustaq.kontraktor.impl
Created by ruedi on 02.11.14.
StoppedActorTargetedException() - Constructor for exception org.nustaq.kontraktor.impl.StoppedActorTargetedException
 
StoppedActorTargetedException(String) - Constructor for exception org.nustaq.kontraktor.impl.StoppedActorTargetedException
 
StoppedActorTargetedException(String, Throwable) - Constructor for exception org.nustaq.kontraktor.impl.StoppedActorTargetedException
 
StoppedActorTargetedException(Throwable) - Constructor for exception org.nustaq.kontraktor.impl.StoppedActorTargetedException
 
StoppedActorTargetedException(String, Throwable, boolean, boolean) - Constructor for exception org.nustaq.kontraktor.impl.StoppedActorTargetedException
 
stopRemoteRefs() - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
stopSafeClose() - Method in class org.nustaq.kontraktor.Actor
avoids exception when closing an actor after stop has been called.
stream(T...) - Static method in class org.nustaq.kontraktor.Actors
utility addition to java 8 streams
stream(T) - Method in interface org.nustaq.kontraktor.Callback
invalid for Promises!.
stream(O) - Method in class org.nustaq.kontraktor.Spore
 
streamError(Object) - Method in class org.nustaq.kontraktor.Spore
note that sending an error implicitely will close the backstream.
submit(Callable<T>) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
submit(Runnable, T) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
submit(Runnable) - Method in class org.nustaq.kontraktor.util.ActorExecutorService
 
SubmitDelayed(long, Runnable) - Static method in class org.nustaq.kontraktor.Actors
utility function.

T

TCPClientConnector - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 10/05/15.
TCPClientConnector(int, String, Callback<ActorClientConnector>) - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPClientConnector
 
TCPClientConnector.RemotingHelper - Class in org.nustaq.kontraktor.remoting.tcp
 
TCPConnectable - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 19/05/15.
TCPConnectable() - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
TCPConnectable(Class, String, int) - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPConnectable
 
TCPNIOPublisher - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 18/06/15.
TCPNIOPublisher() - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
TCPNIOPublisher(Actor, int) - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPNIOPublisher
 
TCPPublisher - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 18/06/15.
TCPPublisher() - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPPublisher
 
TCPPublisher(Actor, int) - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPPublisher
 
TCPServerConnector - Class in org.nustaq.kontraktor.remoting.tcp
Created by ruedi on 10/05/15.
TCPServerConnector(int) - Constructor for class org.nustaq.kontraktor.remoting.tcp.TCPServerConnector
 
tell(String, Object...) - Method in class org.nustaq.kontraktor.Actor
generic method for untyped messages.
terminated - Variable in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
terminateEntry(int, RemoteRefPolling.ScheduleEntry, Object, Throwable) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRefPolling
 
then(Runnable) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
then(Callback<T>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
then(Consumer<T>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
then(Runnable) - Method in interface org.nustaq.kontraktor.IPromise
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.
then(Callback<T>) - Method in interface org.nustaq.kontraktor.IPromise
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.
then(Consumer<T>) - Method in interface org.nustaq.kontraktor.IPromise
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.
then(Runnable) - Method in class org.nustaq.kontraktor.Promise
see IPromise interface
then(Consumer<T>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
then(Callback) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
thenAnd(Supplier<IPromise<T>>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
thenAnd(Function<T, IPromise<OUT>>) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
thenAnd(Supplier<IPromise<T>>) - Method in interface org.nustaq.kontraktor.IPromise
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.
thenAnd(Function<T, IPromise<OUT>>) - Method in interface org.nustaq.kontraktor.IPromise
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.
thenAnd(Function<T, IPromise<OUT>>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
thenAnd(Supplier<IPromise<T>>) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
threadStopped(DispatcherThread) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
threadStopped(DispatcherThread) - Method in interface org.nustaq.kontraktor.Scheduler
 
TicketMachine - Class in org.nustaq.kontraktor.util
Created by ruedi on 02.06.14.
TicketMachine() - Constructor for class org.nustaq.kontraktor.util.TicketMachine
 
timedOut(Timeout) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
Timeout - Class in org.nustaq.kontraktor
Created by ruedi on 07.11.2014.
Timeout() - Constructor for class org.nustaq.kontraktor.Timeout
 
timeoutIn(long) - Method in class org.nustaq.kontraktor.impl.CallbackWrapper
 
timeoutIn(long) - Method in interface org.nustaq.kontraktor.IPromise
tell the future to call the onTimeout callback in N milliseconds if future is not settled until then
timeoutIn(long) - Method in class org.nustaq.kontraktor.Promise
see IPromise (inheriting Callback) interface
TimeoutSerializer - Class in org.nustaq.kontraktor.remoting.encoding
Created by ruedi on 08.11.14.
TimeoutSerializer() - Constructor for class org.nustaq.kontraktor.remoting.encoding.TimeoutSerializer
 
toString() - Method in class org.nustaq.kontraktor.asyncio.AsyncFileIOEvent
 
toString(Method) - Method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
toString(CtMethod) - Static method in class org.nustaq.kontraktor.impl.ActorProxyFactory
 
toString() - Method in class org.nustaq.kontraktor.impl.CallEntry
 
toString() - Method in class org.nustaq.kontraktor.impl.DispatcherThread
 
toString() - Method in class org.nustaq.kontraktor.Promise
 
toString() - Method in class org.nustaq.kontraktor.remoting.encoding.RemoteCallEntry
 
toString() - Method in class org.nustaq.kontraktor.util.Pair
 
tryFlush() - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
tryIsolate(DispatcherThread, Actor) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
tryIsolate(DispatcherThread, Actor) - Method in interface org.nustaq.kontraktor.Scheduler
 
tryStopThread(DispatcherThread) - Method in class org.nustaq.kontraktor.impl.SimpleScheduler
 
tryStopThread(DispatcherThread) - Method in interface org.nustaq.kontraktor.Scheduler
 

U

unpublishActor(Actor) - Method in interface org.nustaq.kontraktor.RemoteConnection
unpublishes this actor by removing mappings and stuff.
unpublishActor(Actor) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
remove current mappings if present.

V

valueOf(String) - Static method in enum org.nustaq.kontraktor.remoting.encoding.SerializerType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.nustaq.kontraktor.remoting.encoding.SerializerType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitEmpty(long) - Method in class org.nustaq.kontraktor.impl.DispatcherThread
blocking method, use for debugging only.
WARN - Static variable in class org.nustaq.kontraktor.util.Log
 
Warn(Object, Throwable, String) - Static method in class org.nustaq.kontraktor.util.Log
 
Warn(Object, String) - Static method in class org.nustaq.kontraktor.util.Log
 
Warn(Object, Throwable) - Static method in class org.nustaq.kontraktor.util.Log
 
warn(Object, String) - Method in class org.nustaq.kontraktor.util.Log
 
warnLong(Object, Throwable, String) - Method in class org.nustaq.kontraktor.util.Log
 
wrapper - Variable in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
write(long, ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.AsyncFile
 
write(ByteBuffer) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
write(byte[]) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
write(byte[], int, int) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
write(int) - Method in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
writeObject(Object) - Method in class org.nustaq.kontraktor.asyncio.ObjectAsyncSocketConnection
 
writeObject(Object) - Method in interface org.nustaq.kontraktor.remoting.base.ObjectSocket
 
writeObject(ObjectSocket, RemoteCallEntry) - Method in class org.nustaq.kontraktor.remoting.base.RemoteRegistry
 
writeObject(FSTObjectOutput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.ActorRefSerializer
 
writeObject(FSTObjectOutput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.CallbackRefSerializer
 
writeObject(FSTObjectOutput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.SporeRefSerializer
 
writeObject(FSTObjectOutput, Object, FSTClazzInfo, FSTClazzInfo.FSTFieldInfo, int) - Method in class org.nustaq.kontraktor.remoting.encoding.TimeoutSerializer
 
writePromise - Variable in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 
writeQueue - Variable in class org.nustaq.kontraktor.asyncio.QueuingAsyncSocketConnection
 
writingBuffer - Variable in class org.nustaq.kontraktor.asyncio.AsyncSocketConnection
 

Y

yield() - Static method in class org.nustaq.kontraktor.Actors
processes messages from mailbox / callbackqueue until no messages are left NOP if called from non actor thread.
yield(long) - Static method in class org.nustaq.kontraktor.Actors
process messages on the mailbox/callback queue until timeout is reached.
yield(int) - Method in class org.nustaq.kontraktor.impl.BackOffStrategy
 
YIELD_UNTIL_PARK - Static variable in class org.nustaq.kontraktor.impl.BackOffStrategy
 

_

__addDeadLetter(Actor, String) - Method in class org.nustaq.kontraktor.Actor
 
__addRemoteConnection(RemoteConnection) - Method in class org.nustaq.kontraktor.Actor
 
__addStopHandler(Callback<SELF>) - Method in class org.nustaq.kontraktor.Actor
 
__cbQueue - Variable in class org.nustaq.kontraktor.Actor
 
__clientConnection - Variable in class org.nustaq.kontraktor.Actor
 
__connections - Variable in class org.nustaq.kontraktor.Actor
 
__currentDispatcher - Variable in class org.nustaq.kontraktor.Actor
 
__enqueueCall(Actor, String, Object[], boolean) - Method in class org.nustaq.kontraktor.Actor
 
__getCachedMethod(String, Actor) - Method in class org.nustaq.kontraktor.Actor
 
__mailbox - Variable in class org.nustaq.kontraktor.Actor
 
__mailboxCapacity - Variable in class org.nustaq.kontraktor.Actor
 
__mbCapacity - Variable in class org.nustaq.kontraktor.Actor
 
__remoteId - Variable in class org.nustaq.kontraktor.Actor
 
__removeRemoteConnection(RemoteConnection) - Method in class org.nustaq.kontraktor.Actor
 
__scheduler - Variable in class org.nustaq.kontraktor.Actor
 
__self - Variable in class org.nustaq.kontraktor.Actor
 
__stack - Variable in class org.nustaq.kontraktor.impl.DispatcherThread
 
__stop() - Method in class org.nustaq.kontraktor.Actor
 
__stopped - Variable in class org.nustaq.kontraktor.Actor
 
__submit(Runnable) - Method in class org.nustaq.kontraktor.Actor
 
__throwExAtBlock - Variable in class org.nustaq.kontraktor.Actor
 
__ticketMachine - Variable in class org.nustaq.kontraktor.Actor
 
_AsyncClientSocket - Class in org.nustaq.kontraktor.asyncio
Created by ruedi on 08/05/15.
_AsyncClientSocket() - Constructor for class org.nustaq.kontraktor.asyncio._AsyncClientSocket
 
_AsyncClientSocket.CLSActor - Class in org.nustaq.kontraktor.asyncio
 
_isHadResult() - Method in class org.nustaq.kontraktor.Promise
 
_isHasFired() - Method in class org.nustaq.kontraktor.Promise
 
A B C D E F G H I K L M N O P Q R S T U V W Y _ 
Skip navigation links

Copyright © 2015. All rights reserved.