List of usage examples for com.google.common.util.concurrent ForwardingExecutorService subclass-usage
From source file com.github.benmanes.caffeine.cache.testing.TrackingExecutor.java
/** * An executor that retains metrics regarding the execution history. * * @author ben.manes@gmail.com (Ben Manes) */ public final class TrackingExecutor extends ForwardingExecutorService {
From source file org.opendaylight.infrautils.testutils.concurrent.AwaitableExecutorService.java
/** * Executable service wrapper allowing callers to await completion. */ @SuppressFBWarnings("JLM_JSR166_UTILCONCURRENT_MONITORENTER") public class AwaitableExecutorService extends ForwardingExecutorService { private final ExecutorService delegate;
From source file org.apache.bookkeeper.common.util.BoundedExecutorService.java
/** * Implements {@link ExecutorService} and allows limiting the number of tasks to * be scheduled in the thread's queue. */ public class BoundedExecutorService extends ForwardingExecutorService { private final BlockingQueue<Runnable> queue;