A C D G L O P S T V W 

A

AbstractPromiseFactory - Class in org.grails.async.factory
Abstract implementation of the PromiseFactory interface, subclasses should extend this class to obtain common generic functionality
AbstractPromiseFactory() - Constructor for class org.grails.async.factory.AbstractPromiseFactory
 
addPromiseDecoratorLookupStrategy(PromiseDecoratorLookupStrategy) - Method in interface grails.async.PromiseFactory
Adds a PromiseDecoratorLookupStrategy.
addPromiseDecoratorLookupStrategy(PromiseDecoratorLookupStrategy) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
applyDecorators(Closure<T>, List<PromiseDecorator>) - Method in interface grails.async.PromiseFactory
Applies the registered decorators to the given closure
applyDecorators(Closure<T>, List<PromiseDecorator>) - Method in class org.grails.async.factory.AbstractPromiseFactory
 

C

createBoundPromise(T) - Method in interface grails.async.PromiseFactory
Creates a promise with a value pre-bound to it
createBoundPromise(T) - Static method in class grails.async.Promises
 
createBoundPromise(T) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
createPromise(Map<K, V>) - Method in interface grails.async.PromiseFactory
Creates a promise from the given map where the values of the map are either closures or Promise instances
createPromise(Promise<T>...) - Method in interface grails.async.PromiseFactory
Creates a promise from one or more other promises
createPromise(Closure<T>...) - Method in interface grails.async.PromiseFactory
Creates a promise from one or many closures
createPromise(Closure<T>, List<PromiseDecorator>) - Method in interface grails.async.PromiseFactory
Creates a promise from one or many closures
createPromise(List<Closure<T>>, List<PromiseDecorator>) - Method in interface grails.async.PromiseFactory
Creates a promise from one or many closures
createPromise(List<Closure<T>>) - Method in interface grails.async.PromiseFactory
Creates a promise from one or many closures
createPromise(Map<K, V>) - Static method in class grails.async.Promises
 
createPromise(Closure<T>...) - Static method in class grails.async.Promises
 
createPromise(Closure<T>, List<PromiseDecorator>) - Static method in class grails.async.Promises
 
createPromise(List<Closure<T>>, List<PromiseDecorator>) - Static method in class grails.async.Promises
 
createPromise(Promise<T>...) - Static method in class grails.async.Promises
 
createPromise(Closure<T>, List<PromiseDecorator>) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
createPromise(List<Closure<T>>) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
createPromise(List<Closure<T>>, List<PromiseDecorator>) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
createPromise(Promise<T>...) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
createPromise(Map<K, V>) - Method in class org.grails.async.factory.AbstractPromiseFactory
 

D

DelegateAsyncTransactionalMethodTransformer - Interface in org.grails.async.transform.internal
Interface for a class that handles transforming async transactional methods
DelegateAsyncTransformation - Class in org.grails.async.transform.internal
Implementation of DelegateAsync transformation
DelegateAsyncTransformation() - Constructor for class org.grails.async.transform.internal.DelegateAsyncTransformation
 

G

getPromiseFactory() - Static method in class grails.async.Promises
 
grails.async - package grails.async
 
GROOVY_OBJECT_CLASS_NODE - Static variable in class org.grails.async.transform.internal.DelegateAsyncTransformation
 

L

lookupAsyncTransactionalMethodTransformer() - Method in class org.grails.async.transform.internal.DelegateAsyncTransformation
 
lookupStrategies - Variable in class org.grails.async.factory.AbstractPromiseFactory
 

O

onComplete(List<Promise<T>>, Closure<?>) - Method in interface grails.async.PromiseFactory
Executes the given callback when the list of promises completes
onComplete(List<Promise<T>>, Closure<?>) - Static method in class grails.async.Promises
 
onError(List<Promise<T>>, Closure<?>) - Method in interface grails.async.PromiseFactory
Executes the given callback if an error occurs for the list of promises
onError(List<Promise<T>>, Closure<?>) - Static method in class grails.async.Promises
 
org.grails.async.factory - package org.grails.async.factory
 
org.grails.async.transform.internal - package org.grails.async.transform.internal
 

P

PromiseFactory - Interface in grails.async
An interface capable of creating Promise instances.
Promises - Class in grails.async
Factory class for working with Promise instances
Promises() - Constructor for class grails.async.Promises
 

S

setPromiseFactory(PromiseFactory) - Static method in class grails.async.Promises
 

T

task(Closure<T>) - Static method in class grails.async.Promises
 
tasks(Map<K, V>) - Static method in class grails.async.Promises
 
tasks(Closure<T>...) - Static method in class grails.async.Promises
 
tasks(List<Closure<T>>) - Static method in class grails.async.Promises
 
transformTransactionalMethod(ClassNode, ClassNode, MethodNode, ListExpression) - Method in interface org.grails.async.transform.internal.DelegateAsyncTransactionalMethodTransformer
 

V

visit(ASTNode[], SourceUnit) - Method in class org.grails.async.transform.internal.DelegateAsyncTransformation
 

W

waitAll(Promise<T>...) - Method in interface grails.async.PromiseFactory
Synchronously waits for all promises to complete returning a list of values
waitAll(List<Promise<T>>) - Method in interface grails.async.PromiseFactory
Synchronously waits for all promises to complete returning a list of values
waitAll(List<Promise<T>>, long, TimeUnit) - Method in interface grails.async.PromiseFactory
Synchronously waits for all promises to complete returning a list of values
waitAll(Promise<T>...) - Static method in class grails.async.Promises
 
waitAll(List<Promise<T>>) - Static method in class grails.async.Promises
 
waitAll(List<Promise<T>>, long, TimeUnit) - Static method in class grails.async.Promises
 
waitAll(Promise<T>...) - Method in class org.grails.async.factory.AbstractPromiseFactory
 
A C D G L O P S T V W