$ A B C D E F G H I L M N O P R S T U V W Y _ 

$

$() - Method in class de.ruedigermoeller.kontraktor.Actor
 
$$(Class<T>) - Static method in class de.ruedigermoeller.kontraktor.Actors
 

A

Actor<SELF extends Actor> - Class in de.ruedigermoeller.kontraktor
Baseclass for actor implementations.
Actor() - Constructor for class de.ruedigermoeller.kontraktor.Actor
required by bytecode magic.
actorAdded(Actor) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
ActorProxy<T extends Actor> - Interface in de.ruedigermoeller.kontraktor
tagging interface.
ActorProxyFactory - Class in de.ruedigermoeller.kontraktor.impl
To change this template use File | Settings | File Templates.
ActorProxyFactory() - Constructor for class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
ActorRunnable<T,R> - Interface in de.ruedigermoeller.kontraktor
Created by moelrue on 12.05.2014.
Actors - Class in de.ruedigermoeller.kontraktor
Copyright (c) 2012, Ruediger Moeller.
Actors() - Constructor for class de.ruedigermoeller.kontraktor.Actors
 
actorStopped(Actor) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
add(E) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
addAll(Collection<? extends E>) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
AsActor(Class<? extends Actor>) - Static method in class de.ruedigermoeller.kontraktor.Actors
create an new actor.
AsActor(Class<? extends Actor>, int) - Static method in class de.ruedigermoeller.kontraktor.Actors
create an new actor.
AsActor(Class<? extends Actor>, DispatcherThread) - Static method in class de.ruedigermoeller.kontraktor.Actors
create an new actor dispatched in the given DispatcherThread
Async(Callable<T>) - Static method in class de.ruedigermoeller.kontraktor.Actors
execute a callable asynchronously (in a different thread) and return a future of the result (delivered in caller thread)

B

BackOffStrategy - Class in de.ruedigermoeller.kontraktor.impl
Created by moelrue on 06.05.2014.
BackOffStrategy() - Constructor for class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
BackOffStrategy(int, int, int) - Constructor for class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
backOffStrategy - Static variable in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
defines the strategy applied when idling

C

Callback<T> - Interface in de.ruedigermoeller.kontraktor
Typically used to receive results from outside the actor.
CallbackWrapper<T> - Class in de.ruedigermoeller.kontraktor.impl
..
CallbackWrapper(DispatcherThread, Callback<T>) - Constructor for class de.ruedigermoeller.kontraktor.impl.CallbackWrapper
 
CallEntry<T> - Class in de.ruedigermoeller.kontraktor.impl
Created by ruedi on 18.05.14.
CallEntry(T, Method, Object[], DispatcherThread) - Constructor for class de.ruedigermoeller.kontraktor.impl.CallEntry
 
CallerSideMethod - Annotation Type in de.ruedigermoeller.kontraktor.annotations
 
clear() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
contains(Object) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
containsAll(Collection<?>) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
copy() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
copy() - Method in interface de.ruedigermoeller.kontraktor.Message
 
createProxyClass(Class<T>) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
currentMsg() - Static method in class de.ruedigermoeller.kontraktor.Actor
 
currentSequence() - Static method in class de.ruedigermoeller.kontraktor.Actor
 

D

de.ruedigermoeller.kontraktor - package de.ruedigermoeller.kontraktor
 
de.ruedigermoeller.kontraktor.annotations - package de.ruedigermoeller.kontraktor.annotations
 
de.ruedigermoeller.kontraktor.impl - package de.ruedigermoeller.kontraktor.impl
 
de.ruedigermoeller.kontraktor.util - package de.ruedigermoeller.kontraktor.util
 
DEFAULT_QUEUE_SIZE - Static variable in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
defineProxyFields(ClassPool, CtClass) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
defineProxyMethods(CtClass, CtClass) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
Delayed(int, Runnable) - Static method in class de.ruedigermoeller.kontraktor.Actors
schedule an action or call delayed.
delayedCall(int, Runnable) - Method in class de.ruedigermoeller.kontraktor.Actors
 
delayedCalls - Variable in class de.ruedigermoeller.kontraktor.Actors
 
dispatchCallback(CallEntry) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
DispatcherThread - Class in de.ruedigermoeller.kontraktor.impl
Implements the default dispatcher/scheduling of actors.
DispatcherThread() - Constructor for class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
DispatcherThread(int) - Constructor for class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
dispatchOnObject(CallEntry) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 

E

element() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
error - Variable in class de.ruedigermoeller.kontraktor.Promise
 
exec - Variable in class de.ruedigermoeller.kontraktor.Actors
 
exec(T...) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
exec(T...) - Method in interface de.ruedigermoeller.kontraktor.Message
 
exec() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
executeInActorThread(ActorRunnable, Callback) - Method in class de.ruedigermoeller.kontraktor.Actor
 

F

factory - Variable in class de.ruedigermoeller.kontraktor.Actors
 
Filter<IN,OUT> - Interface in de.ruedigermoeller.kontraktor
Created by ruedi on 23.05.14.
findNextPositivePowerOfTwo(int) - Static method in class io.jaq.util.Pow2
 
first() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
Future<T> - Interface in de.ruedigermoeller.kontraktor
Created by moelrue on 20.05.2014.

G

get(int) - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
get() - Method in class io.jaq.util.LongCell
 
get() - Method in class io.jaq.util.VolatileLongCell
 
getActor() - Method in class de.ruedigermoeller.kontraktor.Actor
 
getActor() - Method in interface de.ruedigermoeller.kontraktor.ActorProxy
 
getActorAccess() - Method in class de.ruedigermoeller.kontraktor.Actor
 
getArgs() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
getArgs() - Method in interface de.ruedigermoeller.kontraktor.Message
 
getDispatcher() - Method in class de.ruedigermoeller.kontraktor.Actor
 
getDispatcher() - Method in interface de.ruedigermoeller.kontraktor.ActorProxy
 
getDispatcher() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
getDispatcher() - Method in interface de.ruedigermoeller.kontraktor.Message
 
getError() - Method in class de.ruedigermoeller.kontraktor.Promise
 
getFactory() - Method in class de.ruedigermoeller.kontraktor.Actor
 
getFactory() - Method in class de.ruedigermoeller.kontraktor.Actors
 
getFutureCB() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
getId() - Method in class de.ruedigermoeller.kontraktor.Promise
 
getInvoker(Object) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
getMessages() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
getMethod() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
getMethod() - Method in interface de.ruedigermoeller.kontraktor.Message
 
getNanosToPark() - Method in class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
getQSize() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
getResult() - Method in interface de.ruedigermoeller.kontraktor.Future
 
getResult() - Method in class de.ruedigermoeller.kontraktor.impl.CallbackWrapper
 
getResult() - Method in class de.ruedigermoeller.kontraktor.Promise
 
getSortedPublicCtMethods(CtClass, boolean) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
getTarget() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
getTarget() - Method in interface de.ruedigermoeller.kontraktor.Message
 
getThreadDispatcher() - Static method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
getTicket(Object) - Method in class de.ruedigermoeller.kontraktor.util.TicketMachine
 
getTickets() - Method in class de.ruedigermoeller.kontraktor.util.TicketMachine
 

H

hadResult - Variable in class de.ruedigermoeller.kontraktor.Promise
 
hasFired - Variable in class de.ruedigermoeller.kontraktor.Promise
 
hasFutureResult() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 

I

init(int) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
instanceCount - Static variable in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
instantiateProxy(Actor) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
InThread(T) - Static method in class de.ruedigermoeller.kontraktor.Actors
Creates a wrapper on the given object enqueuing all calls to INTERFACE methods of the given object to the calling actors's queue.
InThread - Annotation Type in de.ruedigermoeller.kontraktor.annotations
 
io.jaq.mpsc - package io.jaq.mpsc
 
io.jaq.util - package io.jaq.util
 
isEmpty() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
isEmpty() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
isPowerOf2(int) - Static method in class io.jaq.util.Pow2
 
isProxy() - Method in class de.ruedigermoeller.kontraktor.Actor
 
isShutDown() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
iterator() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 

L

lazySet(long) - Method in class io.jaq.util.VolatileLongCell
 
loadProxyClass(Class, ClassPool, CtClass) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
LongCell - Class in io.jaq.util
 
LongCell() - Constructor for class io.jaq.util.LongCell
 

M

map(IN, Object) - Method in interface de.ruedigermoeller.kontraktor.Filter
 
map(Filter<T, OUT>) - Method in interface de.ruedigermoeller.kontraktor.Future
 
map(Filter<T, OUT>) - Method in class de.ruedigermoeller.kontraktor.impl.CallbackWrapper
 
map(Filter<T, OUT>) - Method in class de.ruedigermoeller.kontraktor.Promise
 
Message<T> - Interface in de.ruedigermoeller.kontraktor
Created by ruedi on 23.05.14.
MessageSequence - Class in de.ruedigermoeller.kontraktor
Created by ruedi on 23.05.14.
MessageSequence(Message, Object...) - Constructor for class de.ruedigermoeller.kontraktor.MessageSequence
 
MessageSequence(List<Message>) - Constructor for class de.ruedigermoeller.kontraktor.MessageSequence
 
methodCache - Variable in class de.ruedigermoeller.kontraktor.Actor
 
MpscConcurrentQueue<E> - Class in io.jaq.mpsc
 
MpscConcurrentQueue(int) - Constructor for class io.jaq.mpsc.MpscConcurrentQueue
 
msg(Future) - Static method in class de.ruedigermoeller.kontraktor.Actor
 

N

newDispatcher(int) - Method in class de.ruedigermoeller.kontraktor.Actors
return a new dispatcher backed by a new thread.
newProxy(Class<? extends Actor>, DispatcherThread) - Method in class de.ruedigermoeller.kontraktor.Actors
 
newProxy(Class<? extends Actor>, int) - Method in class de.ruedigermoeller.kontraktor.Actors
 

O

offer(E) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
offerStatus(E) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 

P

peek() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
poll() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
pollDispatchOnObject(DispatcherThread, CallEntry) - Static method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
pollQs() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
Pow2 - Class in io.jaq.util
 
Pow2() - Constructor for class io.jaq.util.Pow2
 
Promise<T> - Class in de.ruedigermoeller.kontraktor
Created by ruedi on 20.05.14.
Promise(T, Object) - Constructor for class de.ruedigermoeller.kontraktor.Promise
 
Promise(T) - Constructor for class de.ruedigermoeller.kontraktor.Promise
 
Promise() - Constructor for class de.ruedigermoeller.kontraktor.Promise
 

R

receiveResult(T, Object) - Method in interface de.ruedigermoeller.kontraktor.Callback
 
receiveResult(T, Object) - Method in class de.ruedigermoeller.kontraktor.impl.CallbackWrapper
 
receiveResult(Object, Object) - Method in class de.ruedigermoeller.kontraktor.Promise
 
remove() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
remove(Object) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
removeAll(Collection<?>) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
result - Variable in class de.ruedigermoeller.kontraktor.Promise
 
resultReceiver - Variable in class de.ruedigermoeller.kontraktor.Promise
 
retainAll(Collection<?>) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
run(T, Actor, Callback<R>) - Method in interface de.ruedigermoeller.kontraktor.ActorRunnable
 
run() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
runBlockingCall(Callable<T>, Callback<T>) - Method in class de.ruedigermoeller.kontraktor.Actors
 

S

self() - Method in class de.ruedigermoeller.kontraktor.Actor
use this to call public methods using actor-dispatch instead of direct in-thread call.
send() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
send(T) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
send() - Method in interface de.ruedigermoeller.kontraktor.Message
 
send(T) - Method in interface de.ruedigermoeller.kontraktor.Message
 
seq(Future...) - Static method in class de.ruedigermoeller.kontraktor.Actor
 
set(long) - Method in class io.jaq.util.LongCell
 
set(long) - Method in class io.jaq.util.VolatileLongCell
 
setCounters(int, int, int) - Method in class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
SetDefaultQueueSize(int) - Static method in class de.ruedigermoeller.kontraktor.Actors
 
setFutureCB(Future) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
setId(String) - Method in class de.ruedigermoeller.kontraktor.Promise
 
setNanosToPark(int) - Method in class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
shutDown() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
terminate operation after emptying Q
shutDownImmediate() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
terminate operation immediately.
size() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
size() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
SpawnActor(Class<? extends Actor>) - Static method in class de.ruedigermoeller.kontraktor.Actors
create a new actor with a newly created DispatcherThread
SpawnActor(Class<? extends Actor>, int) - Static method in class de.ruedigermoeller.kontraktor.Actors
create a new actor with a newly created DispatcherThread
stop() - Method in class de.ruedigermoeller.kontraktor.Actor
stop receiving events.

T

then(Callback<T>) - Method in interface de.ruedigermoeller.kontraktor.Future
 
then(Callback<T>) - Method in class de.ruedigermoeller.kontraktor.impl.CallbackWrapper
 
then(Callback) - Method in class de.ruedigermoeller.kontraktor.Promise
 
TicketMachine - Class in de.ruedigermoeller.kontraktor.util
Created by ruedi on 02.06.14.
TicketMachine() - Constructor for class de.ruedigermoeller.kontraktor.util.TicketMachine
 
toArray() - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
toArray(T[]) - Method in class io.jaq.mpsc.MpscConcurrentQueue
 
toString(Method) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
toString(CtMethod) - Method in class de.ruedigermoeller.kontraktor.impl.ActorProxyFactory
 
toString() - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
toString() - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
toString() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 
toString() - Method in class de.ruedigermoeller.kontraktor.Promise
 

U

UNSAFE - Static variable in class io.jaq.util.UnsafeAccess
 
UnsafeAccess - Class in io.jaq.util
 
UnsafeAccess() - Constructor for class io.jaq.util.UnsafeAccess
 

V

VolatileLongCell - Class in io.jaq.util
 
VolatileLongCell() - Constructor for class io.jaq.util.VolatileLongCell
 
VolatileLongCell(long) - Constructor for class io.jaq.util.VolatileLongCell
 

W

waitEmpty(long) - Method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
blocking method, use for debugging only.
withTarget(T) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
withTarget(T, boolean) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
withTarget(T) - Method in interface de.ruedigermoeller.kontraktor.Message
 
withTarget(T, boolean) - Method in interface de.ruedigermoeller.kontraktor.Message
 

Y

yield(Future...) - Method in class de.ruedigermoeller.kontraktor.Actor
 
Yield(Future...) - Static method in class de.ruedigermoeller.kontraktor.Actors
wait for all futures to complete and return an array of fulfilled futures e.g.
yield(int) - Method in class de.ruedigermoeller.kontraktor.impl.BackOffStrategy
 
yield(T...) - Method in class de.ruedigermoeller.kontraktor.impl.CallEntry
 
yield(int) - Static method in class de.ruedigermoeller.kontraktor.impl.DispatcherThread
 
yield(T...) - Method in interface de.ruedigermoeller.kontraktor.Message
 
yield() - Method in class de.ruedigermoeller.kontraktor.MessageSequence
 

_

__dispatchCall(Actor, String, Object[]) - Method in class de.ruedigermoeller.kontraktor.Actor
 
__dispatcher(DispatcherThread) - Method in class de.ruedigermoeller.kontraktor.Actor
 
__isSeq - Variable in class de.ruedigermoeller.kontraktor.Actor
 
__self - Variable in class de.ruedigermoeller.kontraktor.Actor
 
__seq - Variable in class de.ruedigermoeller.kontraktor.Actor
 
__setDispatcher(DispatcherThread) - Method in interface de.ruedigermoeller.kontraktor.ActorProxy
for internal use only
_isHadResult() - Method in class de.ruedigermoeller.kontraktor.Promise
 
_isHasFired() - Method in class de.ruedigermoeller.kontraktor.Promise
 
$ A B C D E F G H I L M N O P R S T U V W Y _ 

Copyright © 2014. All rights reserved.