Class CurrentThreadExecutorService

java.lang.Object
java.util.concurrent.AbstractExecutorService
org.epics.archiverappliance.retrieval.workers.CurrentThreadExecutorService
All Implemented Interfaces:
AutoCloseable, Executor, ExecutorService

public class CurrentThreadExecutorService extends AbstractExecutorService
An ExecutorService that runs everything on the current thread. Used when the data generated by postprocessors is too large to fit in memory.
Author:
mshankar
  • Constructor Details

    • CurrentThreadExecutorService

      public CurrentThreadExecutorService()
  • Method Details

    • shutdown

      public void shutdown()
    • shutdownNow

      public List<Runnable> shutdownNow()
    • isShutdown

      public boolean isShutdown()
    • isTerminated

      public boolean isTerminated()
    • awaitTermination

      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
      Throws:
      InterruptedException
    • execute

      public void execute(Runnable command)