Class ManagedExecutorService

java.lang.Object
nl.knaw.dans.lib.util.ManagedExecutorService
All Implemented Interfaces:
io.dropwizard.lifecycle.Managed

public class ManagedExecutorService extends Object implements io.dropwizard.lifecycle.Managed
  • Constructor Details

    • ManagedExecutorService

      public ManagedExecutorService(ExecutorService executorService)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface io.dropwizard.lifecycle.Managed
    • stop

      public void stop() throws Exception
      Specified by:
      stop in interface io.dropwizard.lifecycle.Managed
      Throws:
      Exception