Executor, ExecutorService, javax.enterprise.concurrent.ManagedExecutorServiceManagedExecutorServiceAdapter, ManagedScheduledExecutorServiceAdapterpublic abstract class AbstractManagedExecutorServiceAdapter extends Object implements javax.enterprise.concurrent.ManagedExecutorService
ManagedExecutorService and
ManagedScheduledExecutorService
implementation with life cycle operations disabled for handing out to
application components.| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
LIFECYCLE_OPER_NOT_SUPPORTED |
| Constructor | Description |
|---|---|
AbstractManagedExecutorServiceAdapter() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
|
boolean |
isShutdown() |
|
boolean |
isTerminated() |
|
void |
shutdown() |
|
List<Runnable> |
shutdownNow() |
protected static final String LIFECYCLE_OPER_NOT_SUPPORTED
public AbstractManagedExecutorServiceAdapter()
public void shutdown()
shutdown in interface ExecutorServicepublic List<Runnable> shutdownNow()
shutdownNow in interface ExecutorServicepublic boolean isShutdown()
isShutdown in interface ExecutorServicepublic boolean isTerminated()
isTerminated in interface ExecutorServicepublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface ExecutorServiceInterruptedExceptionCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.