|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Promise | |
---|---|
groovyx.gpars.actor | This package holds classes forming the public actor API. |
groovyx.gpars.dataflow | This package holds classes for basic dataflow concurrency constructs, like dataflow variables, streams and threads. |
groovyx.gpars.dataflow.expression | |
groovyx.gpars.dataflow.operator | This package holds classes representing operators and channels necessary for full dataflow concurrency. |
groovyx.gpars.dataflow.operator.component | |
groovyx.gpars.dataflow.stream | |
groovyx.gpars.group |
Uses of Promise in groovyx.gpars.actor |
---|
Methods in groovyx.gpars.actor that return Promise | ||
---|---|---|
|
Actor.sendAndPromise(T message)
Sends a message and returns a promise for the reply. |
Uses of Promise in groovyx.gpars.dataflow |
---|
Classes in groovyx.gpars.dataflow that implement Promise | |
---|---|
class |
DataflowVariable<T>
Represents a thread-safe single-assignment, multi-read variable. |
static class |
DataflowVariable.RemoteDataflowVariable<T>
|
class |
SyncDataflowVariable<T>
A synchronous variant of DataflowVariable, which blocks the writer as well as the readers. |
Methods in groovyx.gpars.dataflow that return Promise | ||
---|---|---|
|
DataflowQueue.rightShift(groovy.lang.Closure<V> closure)
Schedule closure to be executed by pooled actor after data became available. |
|
|
DataflowReadChannel.rightShift(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
Promise.rightShift(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
SyncDataflowStreamReadAdapter.rightShift(groovy.lang.Closure<V> closure)
|
|
static
|
Dataflow.task(java.util.concurrent.Callable<T> callable)
Creates a new task assigned to a thread from the current parallel group. |
|
static
|
Dataflow.task(groovy.lang.Closure<T> code)
Creates a new task assigned to a thread from the default dataflow parallel group. |
|
static Promise<java.lang.Object> |
Dataflow.task(java.lang.Runnable runnable)
Creates a new task assigned to a thread from the current parallel group. |
|
|
DataflowQueue.then(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
DataflowReadChannel.then(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
Promise.then(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
DataflowVariable.then(groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data became available. |
|
|
Promise.then(groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data became available. |
|
|
DataflowQueue.then(PGroup group,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowReadChannel.then(PGroup group,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
Promise.then(PGroup group,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowVariable.then(PGroup group,
groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data becomes available. |
|
|
Promise.then(PGroup group,
groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data becomes available. |
|
|
DataflowQueue.then(Pool pool,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowReadChannel.then(Pool pool,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
Promise.then(Pool pool,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowVariable.then(Pool pool,
groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data becomes available. |
|
|
Promise.then(Pool pool,
groovy.lang.Closure<V> closure,
groovy.lang.Closure<V> errorHandler)
Schedule closure to be executed after data becomes available. |
|
static
|
Dataflow.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
Methods in groovyx.gpars.dataflow with parameters of type Promise | ||
---|---|---|
static
|
Dataflow.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
Method parameters in groovyx.gpars.dataflow with type arguments of type Promise | ||
---|---|---|
static
|
Dataflow.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
static
|
Dataflow.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
Uses of Promise in groovyx.gpars.dataflow.expression |
---|
Methods in groovyx.gpars.dataflow.expression that return Promise | ||
---|---|---|
|
DataflowExpression.rightShift(groovy.lang.Closure<V> closure)
Schedule closure to be executed by pooled actor after data became available. |
|
|
DataflowExpression.then(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
DataflowExpression.then(PGroup group,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowExpression.then(Pool pool,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
Uses of Promise in groovyx.gpars.dataflow.operator |
---|
Methods in groovyx.gpars.dataflow.operator that return Promise | |
---|---|
Promise<java.lang.Boolean> |
CountingPoisonPill.getTermination()
Retrieves the promise for termination |
Promise<java.lang.Boolean> |
ImmediateCountingPoisonPill.getTermination()
Retrieves the promise for termination |
Promise<java.lang.Boolean> |
PoisonTrackCounter.getTermination()
|
Uses of Promise in groovyx.gpars.dataflow.operator.component |
---|
Methods in groovyx.gpars.dataflow.operator.component that return Promise | |
---|---|
Promise<java.lang.Boolean> |
GracefulShutdownMonitor.shutdownNetwork()
Initializes the shutdown process. |
Uses of Promise in groovyx.gpars.dataflow.stream |
---|
Methods in groovyx.gpars.dataflow.stream that return Promise | ||
---|---|---|
|
DataflowStreamReadAdapter.rightShift(groovy.lang.Closure<V> closure)
|
|
|
DataflowStreamReadAdapter.then(groovy.lang.Closure<V> closure)
Schedule closure to be executed after data became available. |
|
|
DataflowStreamReadAdapter.then(PGroup group,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
|
|
DataflowStreamReadAdapter.then(Pool pool,
groovy.lang.Closure<V> closure)
Schedule closure to be executed after data becomes available. |
Uses of Promise in groovyx.gpars.group |
---|
Methods in groovyx.gpars.group that return Promise | ||
---|---|---|
|
PGroup.task(java.util.concurrent.Callable<T> callable)
Creates a new task assigned to a thread from the current parallel group. |
|
|
PGroup.task(groovy.lang.Closure<T> code)
Creates a new task assigned to a thread from the current parallel group. |
|
Promise<java.lang.Object> |
PGroup.task(java.lang.Runnable code)
Creates a new task assigned to a thread from the current parallel group. |
|
|
PGroup.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
Methods in groovyx.gpars.group with parameters of type Promise | ||
---|---|---|
|
PGroup.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(Promise promise1,
Promise promise2,
Promise promise3,
Promise promise4,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
Method parameters in groovyx.gpars.group with type arguments of type Promise | ||
---|---|---|
|
PGroup.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
|
PGroup.whenAllBound(java.util.List<Promise> promises,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Without blocking the thread waits for all the promises to get bound and then passes them to the supplied closure. |
|
private
|
PGroup.whenAllBound(java.util.List<Promise> promises,
int index,
java.util.List<java.lang.Object> values,
DataflowVariable<T> result,
groovy.lang.Closure<T> code,
groovy.lang.Closure<T> errorHandler)
Waits for the promise identified by the index to be bound and then passes on to the next promise in the list |
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV NEXT | FRAMES NO FRAMES |