public class DefaultThreadPoolProvider extends java.lang.Object implements ThreadPoolProvider
| Constructor and Description |
|---|
DefaultThreadPoolProvider() |
DefaultThreadPoolProvider(int maxConcurrentScripts) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.ScheduledFuture<?> |
schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit) |
java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
void |
shutdown(boolean interruptThreads) |
java.util.concurrent.Future<?> |
submit(java.lang.Runnable task) |
public DefaultThreadPoolProvider()
public DefaultThreadPoolProvider(int maxConcurrentScripts)
public java.util.concurrent.Future<?> submit(java.lang.Runnable task)
submit in interface ThreadPoolProviderpublic java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface ThreadPoolProviderpublic java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface ThreadPoolProviderpublic void shutdown(boolean interruptThreads)
shutdown in interface ThreadPoolProvider