| Package | Description |
|---|---|
| org.nustaq.kontraktor | |
| org.nustaq.kontraktor.impl | |
| org.nustaq.kontraktor.remoting.tcp | |
| org.nustaq.kontraktor.util |
| Modifier and Type | Class and Description |
|---|---|
class |
Promise<T>
Created by ruedi on 20.05.14.
|
| Modifier and Type | Method and Description |
|---|---|
Future |
Actor.$sync()
can be used to wait for all messages having been processed
|
protected <T> Future<T> |
Actor.async(Callable<T> callable)
execute a callable asynchronously (in a different thread) and return a future
of the result (delivered in caller thread)
|
<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 |
Promise.then(Callback resultCB) |
Future<T> |
Future.then(Callback<T> result) |
static Future<Future[]> |
Actors.yield(Future... futures) |
protected Future<Future[]> |
Actor.yield(Future... futures) |
Future<Future[]> |
Scheduler.yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
static <T> Future<List<Future<T>>> |
Actors.yield(List<Future<T>> futures) |
<T> Future<List<Future<T>>> |
Scheduler.yield(List<Future<T>> futures) |
protected <T> Future<List<Future<T>>> |
Actor.yieldList(List<Future<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Future<List<Future<T>>> |
Actors.yield(List<Future<T>> futures) |
<T> Future<List<Future<T>>> |
Scheduler.yield(List<Future<T>> futures) |
protected <T> Future<List<Future<T>>> |
Actor.yieldList(List<Future<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
static Future<Future[]> |
Actors.yield(Future... futures) |
protected Future<Future[]> |
Actor.yield(Future... futures) |
Future<Future[]> |
Scheduler.yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Future<List<Future<T>>> |
Actors.yield(List<Future<T>> futures) |
<T> Future<List<Future<T>>> |
Scheduler.yield(List<Future<T>> futures) |
protected <T> Future<List<Future<T>>> |
Actor.yieldList(List<Future<T>> futures) |
| Modifier and Type | Class and Description |
|---|---|
class |
CallbackWrapper<T>
..
|
| Modifier and Type | Method and Description |
|---|---|
Future |
CallEntry.getFutureCB() |
<OUT> Future<OUT> |
CallbackWrapper.map(Filter<T,OUT> filter) |
Future |
ElasticScheduler.put2QueuePolling(CallEntry e) |
Future |
CallbackWrapper.then(Callback<T> result) |
Future<Future[]> |
ElasticScheduler.yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
<T> Future<List<Future<T>>> |
ElasticScheduler.yield(List<Future<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
<T> Future<List<Future<T>>> |
ElasticScheduler.yield(List<Future<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
void |
CallEntry.setFutureCB(Future futureCB) |
Future<Future[]> |
ElasticScheduler.yield(Future... futures)
wait for all futures to complete and return an array of fulfilled futures
e.g.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Future<List<Future<T>>> |
ElasticScheduler.yield(List<Future<T>> futures) |
| Modifier and Type | Method and Description |
|---|---|
static <AC extends Actor> |
TCPActorClient.Connect(Class<AC> clz,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Future<Future> |
TicketMachine.getTicket(Object channelKey) |
Future[] |
Hoarde.map(java.util.function.BiFunction<T,Integer,Future> init) |
Future |
Hoarde.ordered(java.util.function.Function<T,Future> toCall) |
| Modifier and Type | Method and Description |
|---|---|
Future<Future> |
TicketMachine.getTicket(Object channelKey) |
| Modifier and Type | Method and Description |
|---|---|
Future[] |
Hoarde.map(java.util.function.BiFunction<T,Integer,Future> init) |
Future |
Hoarde.ordered(java.util.function.Function<T,Future> toCall) |
| Constructor and Description |
|---|
FutureLatch(Future<T> wrapped) |
FutureLatch(Future<T> wrapped,
int counter) |
Copyright © 2014. All rights reserved.