/** * Wrap an executor with an {@code ExecutorService} instance which supports all the features of {@code ExecutorService} * except for shutting down the executor. * * @param target the target executor * @return the executor service */ public static ExecutorService protectedExecutorService(final Executor target) { return new DelegatingExecutorService(target); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }
/** * Wrap an executor with an {@code ExecutorService} instance which supports all the features of {@code ExecutorService} * except for shutting down the executor. * * @param target the target executor * @return the executor service */ public static ExecutorService protectedExecutorService(final Executor target) { return new DelegatingExecutorService(target); }
/** * Wrap an executor with an {@code ExecutorService} instance which supports all the features of {@code ExecutorService} * except for shutting down the executor. * * @param target the target executor * @return the executor service */ public static ExecutorService protectedExecutorService(final Executor target) { return new DelegatingExecutorService(target); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }
public static ExecutorService directExecutorService() { return new DelegatingExecutorService(JBossExecutors.directExecutor()); }