Class ExecutorServiceManager

  • All Implemented Interfaces:
    Managed

    public class ExecutorServiceManager
    extends Object
    implements Managed
    • Method Detail

      • stop

        public void stop()
                  throws InterruptedException,
                         Exception
        Stops the object. Called after the application is no longer accepting requests. The default implementation is a no-op
        Specified by:
        stop in interface Managed
        Throws:
        InterruptedException - This is thrown if the thread executing this method is interrupted while awaiting executor tasks to complete.
        Exception - if something goes wrong.
      • getShutdownPeriod

        public Duration getShutdownPeriod()
      • getPoolName

        public String getPoolName()