Package org.jboss.as.ee.concurrent
Interface ManagedExecutorWithHungThreads
-
- All Known Implementing Classes:
ManagedExecutorServiceImpl,ManagedScheduledExecutorServiceImpl
public interface ManagedExecutorWithHungThreadsA managed executor with support for hung threads.- Author:
- emmartins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<org.glassfish.enterprise.concurrent.AbstractManagedThread>getHungThreads()StringgetName()default voidterminateHungTasks()Attempts to terminate the executor's hung tasks, by cancelling such tasks.
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- the executor's name
-
terminateHungTasks
default void terminateHungTasks()
Attempts to terminate the executor's hung tasks, by cancelling such tasks.
-
getHungThreads
Collection<org.glassfish.enterprise.concurrent.AbstractManagedThread> getHungThreads()
- Returns:
- the executor's hung threads
-
-