org.globus.cog.karajan.workflow.futures
Class FutureVariableArguments
java.lang.Object
org.globus.cog.karajan.arguments.VariableArgumentsImpl
org.globus.cog.karajan.workflow.futures.FutureVariableArguments
- All Implemented Interfaces:
- VariableArguments, Future, FutureList
- Direct Known Subclasses:
- FutureNameBindingVariableArguments
public class FutureVariableArguments
- extends VariableArgumentsImpl
- implements FutureList
Methods inherited from class org.globus.cog.karajan.arguments.VariableArgumentsImpl |
addListener, equals, getListeners, hashCode, isCommutative, modified, removeFirst, removeListener, set, set, setListeners |
FutureVariableArguments
public FutureVariableArguments()
append
public void append(Object value)
- Specified by:
append
in interface VariableArguments
- Overrides:
append
in class VariableArgumentsImpl
appendAll
public void appendAll(List args)
- Specified by:
appendAll
in interface VariableArguments
- Overrides:
appendAll
in class VariableArgumentsImpl
merge
public void merge(VariableArguments args)
- Specified by:
merge
in interface VariableArguments
- Overrides:
merge
in class VariableArgumentsImpl
close
public void close()
- Specified by:
close
in interface Future
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface Future
getValue
public Object getValue()
- Specified by:
getValue
in interface Future
futureIterator
public FutureIterator futureIterator()
- Specified by:
futureIterator
in interface FutureList
copy
public VariableArguments copy()
- Specified by:
copy
in interface VariableArguments
- Overrides:
copy
in class VariableArgumentsImpl
get
public Object get(int index)
- Specified by:
get
in interface VariableArguments
- Specified by:
get
in interface FutureList
- Overrides:
get
in class VariableArgumentsImpl
getAll
public List getAll()
- Specified by:
getAll
in interface VariableArguments
- Overrides:
getAll
in class VariableArgumentsImpl
iterator
public Iterator iterator()
- Specified by:
iterator
in interface VariableArguments
- Overrides:
iterator
in class VariableArgumentsImpl
size
public int size()
- Specified by:
size
in interface VariableArguments
- Overrides:
size
in class VariableArgumentsImpl
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface VariableArguments
- Overrides:
isEmpty
in class VariableArgumentsImpl
butFirst
public VariableArguments butFirst()
- Specified by:
butFirst
in interface VariableArguments
- Overrides:
butFirst
in class VariableArgumentsImpl
toArray
public Object[] toArray()
- Specified by:
toArray
in interface VariableArguments
- Overrides:
toArray
in class VariableArgumentsImpl
toString
public String toString()
- Overrides:
toString
in class VariableArgumentsImpl
addModificationAction
public void addModificationAction(EventListener target,
Event event)
- Description copied from interface:
Future
- When the future becomes available, send the event to the element.
- Specified by:
addModificationAction
in interface Future
getModificationActions
public List getModificationActions()
fail
public void fail(FutureEvaluationException e)
- Description copied from interface:
Future
- 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();
- Specified by:
fail
in interface Future
available
public int available()
getBackingList
public List getBackingList()
- This should not normally be called. It's intended for serialization