Uses of Interface
jakarta.enterprise.concurrent.ManagedTaskListener
-
Packages that use ManagedTaskListener Package Description jakarta.enterprise.concurrent Classes and interfaces that make up the Jakarta Concurrency specification. -
-
Uses of ManagedTaskListener in jakarta.enterprise.concurrent
Fields in jakarta.enterprise.concurrent declared as ManagedTaskListener Modifier and Type Field Description private ManagedTaskListenerManagedExecutors.Adapter. taskListenerMethods in jakarta.enterprise.concurrent that return ManagedTaskListener Modifier and Type Method Description ManagedTaskListenerManagedExecutors.Adapter. getManagedTaskListener()ManagedTaskListenerManagedTask. getManagedTaskListener()TheManagedTaskListenerto receive notification of lifecycle events of this task.Methods in jakarta.enterprise.concurrent with parameters of type ManagedTaskListener Modifier and Type Method Description static java.lang.RunnableManagedExecutors. managedTask(java.lang.Runnable task, ManagedTaskListener taskListener)Returns aRunnableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the providedManagedTaskListenerwhen the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService.static java.lang.RunnableManagedExecutors. managedTask(java.lang.Runnable task, java.util.Map<java.lang.String,java.lang.String> executionProperties, ManagedTaskListener taskListener)Returns aRunnableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the providedManagedTaskListenerand to provide additional execution properties when the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService.static <V> java.util.concurrent.Callable<V>ManagedExecutors. managedTask(java.util.concurrent.Callable<V> task, ManagedTaskListener taskListener)Returns aCallableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the providedManagedTaskListenerwhen the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService.static <V> java.util.concurrent.Callable<V>ManagedExecutors. managedTask(java.util.concurrent.Callable<V> task, java.util.Map<java.lang.String,java.lang.String> executionProperties, ManagedTaskListener taskListener)Returns aCallableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the providedManagedTaskListenerand to provide additional execution properties when the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService.Constructors in jakarta.enterprise.concurrent with parameters of type ManagedTaskListener Constructor Description Adapter(ManagedTaskListener taskListener, java.util.Map<java.lang.String,java.lang.String> executionProperties, ManagedTask managedTask)CallableAdapter(java.util.concurrent.Callable<V> task, java.util.Map<java.lang.String,java.lang.String> executionProperties, ManagedTaskListener taskListener)RunnableAdapter(java.lang.Runnable task, java.util.Map<java.lang.String,java.lang.String> executionProperties, ManagedTaskListener taskListener)
-