Uses of Interface
javax.util.concurrent.ManagedTaskListener

Uses of ManagedTaskListener in javax.util.concurrent
 

Methods in javax.util.concurrent with parameters of type ManagedTaskListener
<T> java.util.List<java.util.concurrent.Future<T>>
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.
<T> java.util.List<java.util.concurrent.Future<T>>
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.
<T> T
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.
<V> java.util.concurrent.ScheduledFuture<V>
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.
<V> java.util.concurrent.ScheduledFuture<V>
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.
<T> java.util.concurrent.Future<T>
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.
<T> java.util.concurrent.Future<T>
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.