org.globus.cog.karajan.workflow.futures
Interface Future

All Known Subinterfaces:
FutureIterator, FutureList
All Known Implementing Classes:
ForwardArgumentFuture, FutureNameBindingVariableArguments, FutureNamedArgument, FutureVariableArguments, FutureVariableArguments.Iterator, FutureVariableArgumentsOperator

public interface Future


Method Summary
 void addModificationAction(EventListener target, Event event)
          When the future becomes available, send the event to the element.
 void close()
           
 void fail(FutureEvaluationException e)
          Signal to any threads waiting on this future that the evaluation of the future has failed.
 Object getValue()
           
 boolean isClosed()
           
 

Method Detail

close

void close()

isClosed

boolean isClosed()

getValue

Object getValue()
                throws ExecutionException
Throws:
ExecutionException

fail

void fail(FutureEvaluationException e)
Signal to any threads waiting on this future that the evaluation of the future has failed. The exception passed through this method should be thrown by all sub-sequent calls to getValue();


addModificationAction

void addModificationAction(EventListener target,
                           Event event)
When the future becomes available, send the event to the element.