Package org.apache.cassandra.concurrent
Class TaskFactory.LocalAware
- java.lang.Object
-
- org.apache.cassandra.concurrent.TaskFactory.Standard
-
- org.apache.cassandra.concurrent.TaskFactory.LocalAware
-
- All Implemented Interfaces:
TaskFactory
- Enclosing interface:
- TaskFactory
public static class TaskFactory.LocalAware extends TaskFactory.Standard
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.concurrent.TaskFactory
TaskFactory.LocalAware, TaskFactory.Standard
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocalAware()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.RunnabletoExecute(java.lang.Runnable runnable)java.lang.RunnabletoExecute(WithResources withResources, java.lang.Runnable runnable)<T> RunnableFuture<T>toSubmit(java.lang.Runnable runnable)<T> RunnableFuture<T>toSubmit(java.lang.Runnable runnable, T result)<T> RunnableFuture<T>toSubmit(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)<T> RunnableFuture<T>toSubmit(WithResources withResources, java.util.concurrent.Callable<T> callable)-
Methods inherited from class org.apache.cassandra.concurrent.TaskFactory.Standard
newTask, newTask, newTask, newTask
-
-
-
-
Method Detail
-
toExecute
public java.lang.Runnable toExecute(java.lang.Runnable runnable)
- Specified by:
toExecutein interfaceTaskFactory- Overrides:
toExecutein classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(java.lang.Runnable runnable, T result)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(java.util.concurrent.Callable<T> callable)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
toExecute
public java.lang.Runnable toExecute(WithResources withResources, java.lang.Runnable runnable)
- Specified by:
toExecutein interfaceTaskFactory- Overrides:
toExecutein classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.lang.Runnable runnable, T result)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
toSubmit
public <T> RunnableFuture<T> toSubmit(WithResources withResources, java.util.concurrent.Callable<T> callable)
- Specified by:
toSubmitin interfaceTaskFactory- Overrides:
toSubmitin classTaskFactory.Standard
-
-