Class DelegatingExecutorService

java.lang.Object
org.evrete.util.DelegatingExecutorService
All Implemented Interfaces:
Executor, ExecutorService

public class DelegatingExecutorService extends Object implements ExecutorService
A wrapper for an ExecutorService that supports an externally supplied or internally created instance. If a null ExecutorService is provided, the wrapper will create its own instance. The shutdown and shutdownNow methods will only operate on the internally created ExecutorService.