| Package | Description |
|---|---|
| de.ruedigermoeller.kontraktor | |
| de.ruedigermoeller.kontraktor.impl | |
| de.ruedigermoeller.kontraktor.util |
| Modifier and Type | Class and Description |
|---|---|
class |
Promise<T>
Created by ruedi on 20.05.14.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Future<T> |
Actors.Async(Callable<T> toCall)
execute a callable asynchronously (in a different thread) and return a future
of the result (delivered in caller thread)
|
Future<Future[]> |
MessageSequence.exec() |
Future |
Message.exec(T... targets) |
<OUT> Future<OUT> |
Future.map(Filter<T,OUT> filter) |
<OUT> Future<OUT> |
Promise.map(Filter<T,OUT> filter) |
Future<OUT> |
Filter.map(IN result,
Object error) |
Future |
Message.send() |
Future |
Message.send(T target) |
Future |
Promise.then(Callback resultCB) |
Future |
Future.then(Callback<T> result) |
Future<Future[]> |
MessageSequence.yield() |
protected Future<Future[]> |
Actor.yield(Future... futures) |
static Future<Future[]> |
Actors.Yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
Future |
Message.yield(T... targets) |
| Modifier and Type | Method and Description |
|---|---|
static Message |
Actor.msg(Future call) |
static MessageSequence |
Actor.seq(Future... calls) |
protected Future<Future[]> |
Actor.yield(Future... futures) |
static Future<Future[]> |
Actors.Yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackWrapper<T>
..
|
| Modifier and Type | Method and Description |
|---|---|
Future |
CallEntry.exec(T... targets) |
Future |
CallEntry.getFutureCB() |
<OUT> Future<OUT> |
CallbackWrapper.map(Filter<T,OUT> filter) |
static Future |
DispatcherThread.pollDispatchOnObject(DispatcherThread currentThreadDispatcher,
CallEntry e) |
Future |
CallEntry.send() |
Future |
CallEntry.send(T target) |
Future |
CallbackWrapper.then(Callback<T> result) |
Future |
CallEntry.yield(T... targets) |
| Modifier and Type | Method and Description |
|---|---|
void |
CallEntry.setFutureCB(Future futureCB) |
| Modifier and Type | Method and Description |
|---|---|
Future<Future> |
TicketMachine.getTicket(Object channelKey) |
| Modifier and Type | Method and Description |
|---|---|
Future<Future> |
TicketMachine.getTicket(Object channelKey) |
Copyright © 2014. All rights reserved.