rcf.core.concurrent.schedule
Class MethodRunnableFuture
java.lang.Object
rcf.core.concurrent.events.AbstractEventSource
rcf.core.concurrent.schedule.AbstractTask
rcf.core.concurrent.schedule.MethodRunnableFuture
- All Implemented Interfaces:
- Runnable, EventSource, Future<Object>, RunnableFuture<Object>, RunnableTask, Task, ImmutableSingletonInterface<Object>
public final class MethodRunnableFuture
- extends AbstractTask
- implements RunnableFuture<Object>
TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize
TODO: equals, hashCode, toString
- Version:
- $Revision: 1.2 $
- Author:
- Greg Gibeling
| Nested classes/interfaces inherited from interface rcf.core.concurrent.schedule.Task |
Task.State |
| Nested classes/interfaces inherited from interface rcf.core.concurrent.schedule.Task |
Task.State |
|
Method Summary |
Object |
get()
TODO: Javadoc
Get the content element of this singleton. |
void |
run()
TODO: Javadoc
taskState(): Runnable -> Running -> Finished |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rcf.core.concurrent.schedule.Task |
taskState |
| Methods inherited from interface rcf.core.concurrent.schedule.Task |
taskState |
method
protected final Method method
- TODO: Javadoc
object
protected final Object object
- TODO: Javadoc
args
protected final Object[] args
- TODO: Javadoc
retVal
protected Object retVal
- TODO: Javadoc
MethodRunnableFuture
public MethodRunnableFuture(Method _method,
Object _object,
Object... _args)
- TODO: Javadoc
- Parameters:
_method - _object - _args -
get
public Object get()
- Description copied from interface:
ImmutableSingletonInterface
- TODO: Javadoc
Get the content element of this singleton.
- Specified by:
get in interface ImmutableSingletonInterface<Object>
- Returns:
- The content element of this singleton.
run
public void run()
- Description copied from interface:
RunnableTask
- TODO: Javadoc
taskState(): Runnable -> Running -> Finished
- Specified by:
run in interface Runnable- Specified by:
run in interface RunnableTask
- See Also:
Runnable.run()