public static class TaskFactory.LocalAware extends TaskFactory.Standard
TaskFactory.LocalAware, TaskFactory.Standard
Modifier | Constructor and Description |
---|---|
protected |
LocalAware() |
Modifier and Type | Method and Description |
---|---|
java.lang.Runnable |
toExecute(java.lang.Runnable runnable) |
java.lang.Runnable |
toExecute(WithResources withResources,
java.lang.Runnable runnable) |
<T> RunnableFuture<T> |
toSubmit(java.util.concurrent.Callable<T> callable) |
<T> RunnableFuture<T> |
toSubmit(java.lang.Runnable runnable) |
<T> RunnableFuture<T> |
toSubmit(java.lang.Runnable runnable,
T result) |
<T> RunnableFuture<T> |
toSubmit(WithResources withResources,
java.util.concurrent.Callable<T> callable) |
<T> RunnableFuture<T> |
toSubmit(WithResources withResources,
java.lang.Runnable runnable) |
<T> RunnableFuture<T> |
toSubmit(WithResources withResources,
java.lang.Runnable runnable,
T result) |
newTask, newTask
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
localAware, standard
public java.lang.Runnable toExecute(java.lang.Runnable runnable)
toExecute
in interface TaskFactory
toExecute
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable, T result)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(java.util.concurrent.Callable<T> callable)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
public java.lang.Runnable toExecute(WithResources withResources, java.lang.Runnable runnable)
toExecute
in interface TaskFactory
toExecute
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable, T result)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.util.concurrent.Callable<T> callable)
toSubmit
in interface TaskFactory
toSubmit
in class TaskFactory.Standard
Copyright © 2009- The Apache Software Foundation