Interface ManagedExecutorWithHungThreads

All Known Implementing Classes:
ManagedExecutorServiceImpl, ManagedScheduledExecutorServiceImpl

public interface ManagedExecutorWithHungThreads
A managed executor with support for hung threads.
Author:
emmartins
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.glassfish.enterprise.concurrent.AbstractManagedThread>
     
     
    default void
    Attempts to terminate the executor's hung tasks, by cancelling such tasks.
  • Method Details

    • 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