Uses of Interface
org.compass.core.util.backport.java.util.concurrent.Callable

Packages that use Callable
org.compass.core.util.backport.java.util.concurrent Utility classes commonly useful in concurrent programming. 
 

Uses of Callable in org.compass.core.util.backport.java.util.concurrent
 

Classes in org.compass.core.util.backport.java.util.concurrent that implement Callable
(package private) static class Executors.PrivilegedCallable
          A callable that runs under established access control settings
(package private) static class Executors.PrivilegedCallableUsingCurrentClassLoader
          A callable that runs under established access control settings and current ClassLoader
(package private) static class Executors.RunnableAdapter
          A callable that runs given task and returns given result
 

Methods in org.compass.core.util.backport.java.util.concurrent that return Callable
static Callable Executors.callable(PrivilegedAction action)
          Returns a Callable object that, when called, runs the given privileged action and returns its result.
static Callable Executors.callable(PrivilegedExceptionAction action)
          Returns a Callable object that, when called, runs the given privileged exception action and returns its result.
static Callable Executors.callable(Runnable task)
          Returns a Callable object that, when called, runs the given task and returns null.
static Callable Executors.callable(Runnable task, Object result)
          Returns a Callable object that, when called, runs the given task and returns the given result.
static Callable Executors.privilegedCallable(Callable callable)
          Returns a Callable object that will, when called, execute the given callable under the current access control context.
static Callable Executors.privilegedCallableUsingCurrentClassLoader(Callable callable)
          Returns a Callable object that will, when called, execute the given callable under the current access control context, with the current context class loader as the context class loader.
 

Methods in org.compass.core.util.backport.java.util.concurrent with parameters of type Callable
protected  RunnableScheduledFuture ScheduledThreadPoolExecutor.decorateTask(Callable callable, RunnableScheduledFuture task)
          Modifies or replaces the task used to execute a callable.
protected  RunnableFuture AbstractExecutorService.newTaskFor(Callable callable)
          Returns a RunnableFuture for the given callable task.
static Callable Executors.privilegedCallable(Callable callable)
          Returns a Callable object that will, when called, execute the given callable under the current access control context.
static Callable Executors.privilegedCallableUsingCurrentClassLoader(Callable callable)
          Returns a Callable object that will, when called, execute the given callable under the current access control context, with the current context class loader as the context class loader.
 ScheduledFuture ScheduledThreadPoolExecutor.schedule(Callable callable, long delay, TimeUnit unit)
           
 ScheduledFuture ScheduledExecutorService.schedule(Callable callable, long delay, TimeUnit unit)
          Creates and executes a ScheduledFuture that becomes enabled after the given delay.
 ScheduledFuture Executors.DelegatedScheduledExecutorService.schedule(Callable callable, long delay, TimeUnit unit)
           
 Future ScheduledThreadPoolExecutor.submit(Callable task)
           
 Future ExecutorService.submit(Callable task)
          Submits a value-returning task for execution and returns a Future representing the pending results of the task.
 Future Executors.DelegatedExecutorService.submit(Callable task)
           
 Future ExecutorCompletionService.submit(Callable task)
           
 Future CompletionService.submit(Callable task)
          Submits a value-returning task for execution and returns a Future representing the pending results of the task.
 Future AbstractExecutorService.submit(Callable task)
           
 

Constructors in org.compass.core.util.backport.java.util.concurrent with parameters of type Callable
Executors.PrivilegedCallable(Callable task)
           
Executors.PrivilegedCallableUsingCurrentClassLoader(Callable task)
           
FutureTask(Callable callable)
          Creates a FutureTask that will upon running, execute the given Callable.
 



Copyright (c) 2004-2006 The Compass Project.