Package io.quarkus.runtime.util
Class NoopShutdownScheduledExecutorService
java.lang.Object
io.quarkus.runtime.util.ForwardingExecutorService
io.quarkus.runtime.util.ForwardingScheduledExecutorService
io.quarkus.runtime.util.NoopShutdownScheduledExecutorService
- All Implemented Interfaces:
Executor,ExecutorService,ScheduledExecutorService
Forwards all method calls to the scheduled executor service returned from the
delegate() method.
Does not allow shutdown-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScheduledExecutorServicedelegate()booleanbooleanvoidshutdown()Methods inherited from class io.quarkus.runtime.util.ForwardingScheduledExecutorService
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelayMethods inherited from class io.quarkus.runtime.util.ForwardingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, submit, submit, submit
-
Constructor Details
-
NoopShutdownScheduledExecutorService
-
-
Method Details
-
delegate
- Specified by:
delegatein classForwardingScheduledExecutorService
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceExecutorService- Overrides:
isShutdownin classForwardingExecutorService
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceExecutorService- Overrides:
isTerminatedin classForwardingExecutorService
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceExecutorService- Overrides:
shutdownin classForwardingExecutorService
-
shutdownNow
- Specified by:
shutdownNowin interfaceExecutorService- Overrides:
shutdownNowin classForwardingExecutorService
-