|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ManagedTaskListener in javax.util.concurrent |
---|
Methods in javax.util.concurrent with parameters of type ManagedTaskListener | ||
---|---|---|
|
ManagedExecutorService.invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
long timeout,
java.util.concurrent.TimeUnit unit,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService.invokeAll(java.util.Collection, long, java.util.concurrent.TimeUnit)
but also includes the ability to be notified when each task's lifecycle changes. |
|
|
ManagedExecutorService.invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService.invokeAll(java.util.Collection)
but also includes the ability to be notified when each task's lifecycle changes. |
|
|
ManagedExecutorService.invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService.invokeAny(java.util.Collection)
but also includes the ability to be notified when each task's lifecycle changes. |
|
|
ManagedScheduledExecutorService.schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit,
ManagedTaskListener taskListener)
Creates and executes a ScheduledFuture that becomes enabled after the given delay. |
|
|
ManagedScheduledExecutorService.schedule(java.util.concurrent.Callable<V> callable,
Trigger trigger,
ManagedTaskListener taskListener)
Creates and executes a task based on a Trigger. |
|
java.util.concurrent.ScheduledFuture<?> |
ManagedScheduledExecutorService.schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit,
ManagedTaskListener taskListener)
Creates and executes a one-shot action that becomes enabled after the given delay. |
|
java.util.concurrent.ScheduledFuture<?> |
ManagedScheduledExecutorService.schedule(java.lang.Runnable command,
Trigger trigger,
ManagedTaskListener taskListener)
Creates and executes a task based on a Trigger. |
|
java.util.concurrent.ScheduledFuture<?> |
ManagedScheduledExecutorService.scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit,
ManagedTaskListener taskListener)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on. |
|
java.util.concurrent.ScheduledFuture<?> |
ManagedScheduledExecutorService.scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit,
ManagedTaskListener taskListener)
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next. |
|
|
ManagedExecutorService.submit(java.util.concurrent.Callable<T> task,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService.submit(java.util.concurrent.Callable)
but also includes the ability to be notified when the task's lifecycle changes. |
|
java.util.concurrent.Future<?> |
ManagedExecutorService.submit(java.lang.Runnable task,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService.submit(java.lang.Runnable)
but also includes the ability to be notified when the task's lifecycle changes. |
|
|
ManagedExecutorService.submit(java.lang.Runnable task,
T result,
ManagedTaskListener taskListener)
This method has the same semantics as ExecutorService#submit(java.lang.Runnable, T)
but also includes the ability to be notified when the task's lifecycle changes. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |