public static class TaskFactory.Standard extends java.lang.Object implements TaskFactory
TaskFactory.LocalAware, TaskFactory.Standard
Modifier | Constructor and Description |
---|---|
protected |
Standard() |
Modifier and Type | Method and Description |
---|---|
protected <T> RunnableFuture<T> |
newTask(java.util.concurrent.Callable<T> call) |
protected <T> RunnableFuture<T> |
newTask(WithResources withResources,
java.util.concurrent.Callable<T> call) |
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) |
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
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable)
toSubmit
in interface TaskFactory
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable, T result)
toSubmit
in interface TaskFactory
public <T> RunnableFuture<T> toSubmit(java.util.concurrent.Callable<T> callable)
toSubmit
in interface TaskFactory
public java.lang.Runnable toExecute(WithResources withResources, java.lang.Runnable runnable)
toExecute
in interface TaskFactory
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable)
toSubmit
in interface TaskFactory
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable, T result)
toSubmit
in interface TaskFactory
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.util.concurrent.Callable<T> callable)
toSubmit
in interface TaskFactory
protected <T> RunnableFuture<T> newTask(java.util.concurrent.Callable<T> call)
protected <T> RunnableFuture<T> newTask(WithResources withResources, java.util.concurrent.Callable<T> call)
Copyright © 2009-2022 The Apache Software Foundation