Package org.jboss.as.ee.concurrent
Interface ManagedExecutorWithHungThreads
-
- All Known Implementing Classes:
ManagedExecutorServiceImpl
,ManagedScheduledExecutorServiceImpl
public interface ManagedExecutorWithHungThreads
A 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()
String
getName()
default void
terminateHungTasks()
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
-
-