Package net.officefloor.jaxrs
Class OfficeFloorExecutorServiceFactory.OfficeFloorExecutorService
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- net.officefloor.jaxrs.OfficeFloorExecutorServiceFactory.OfficeFloorExecutorService
-
- All Implemented Interfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
,javax.enterprise.concurrent.ManagedExecutorService
- Enclosing class:
- OfficeFloorExecutorServiceFactory
public class OfficeFloorExecutorServiceFactory.OfficeFloorExecutorService extends java.util.concurrent.AbstractExecutorService implements javax.enterprise.concurrent.ManagedExecutorService
OfficeFloor
ExecutorService
.
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorExecutorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long timeout, java.util.concurrent.TimeUnit unit)
void
execute(java.lang.Runnable command)
boolean
isShutdown()
boolean
isTerminated()
void
shutdown()
java.util.List<java.lang.Runnable>
shutdownNow()
-
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
-
-
-
-
Method Detail
-
execute
public void execute(java.lang.Runnable command)
- Specified by:
execute
in interfacejava.util.concurrent.Executor
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfacejava.util.concurrent.ExecutorService
-
shutdownNow
public java.util.List<java.lang.Runnable> shutdownNow()
- Specified by:
shutdownNow
in interfacejava.util.concurrent.ExecutorService
-
isShutdown
public boolean isShutdown()
- Specified by:
isShutdown
in interfacejava.util.concurrent.ExecutorService
-
awaitTermination
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
- Specified by:
awaitTermination
in interfacejava.util.concurrent.ExecutorService
- Throws:
java.lang.InterruptedException
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminated
in interfacejava.util.concurrent.ExecutorService
-
-