Class AbstractManagedExecutorServiceAdapter
java.lang.Object
org.jboss.as.ee.concurrent.adapter.AbstractManagedExecutorServiceAdapter
- All Implemented Interfaces:
jakarta.enterprise.concurrent.ManagedExecutorService,Executor,ExecutorService
- Direct Known Subclasses:
ManagedExecutorServiceAdapter,ManagedScheduledExecutorServiceAdapter
public abstract class AbstractManagedExecutorServiceAdapter
extends Object
implements jakarta.enterprise.concurrent.ManagedExecutorService
Abstract base class for
ManagedExecutorService and ManagedScheduledExecutorService implementation with life cycle operations disabled for handing out to application components.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long timeout, TimeUnit unit) booleanbooleanvoidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submitMethods inherited from interface jakarta.enterprise.concurrent.ManagedExecutorService
completedFuture, completedStage, copy, copy, failedFuture, failedStage, getContextService, newIncompleteFuture, runAsync, supplyAsync
-
Constructor Details
-
AbstractManagedExecutorServiceAdapter
public AbstractManagedExecutorServiceAdapter()
-
-
Method Details
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceExecutorService
-
shutdownNow
- Specified by:
shutdownNowin interfaceExecutorService
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceExecutorService
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceExecutorService
-
awaitTermination
- Specified by:
awaitTerminationin interfaceExecutorService- Throws:
InterruptedException
-