public interface PluginExecutorService
extends com.google.common.util.concurrent.ListeningScheduledExecutorService
ListeningScheduledExecutorService.
It is recommended to use this instead of creating your own thread(-pool) in your plugin.
Use this class for all concurrent code.| Modifier and Type | Method and Description |
|---|---|
void |
shutdown()
DO NOT CALL THIS METHOD!
|
List<Runnable> |
shutdownNow()
DO NOT CALL THIS METHOD!
|
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelayinvokeAll, invokeAll, submit, submit, submitawaitTermination, invokeAny, invokeAny, isShutdown, isTerminatedvoid shutdown()
shutdown in interface ExecutorService{@link - UnsupportedOperationException} alwaysList<Runnable> shutdownNow()
shutdownNow in interface ExecutorService{@link - UnsupportedOperationException} alwaysCopyright © 2013-2018 dc-square GmbH. All Rights Reserved.