public class ConcurrentScheduler
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.util.thread.Scheduler
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor and Description |
|---|
ConcurrentScheduler(int schedulerCount,
int threadsPerScheduler,
String threadBaseName) |
| Modifier and Type | Method and Description |
|---|---|
static ConcurrentScheduler |
createConcurrentScheduler(String threadBaseName,
int concurrency,
int totalThreads) |
protected void |
doStart() |
protected void |
doStop() |
org.eclipse.jetty.util.thread.Scheduler.Task |
schedule(Runnable task,
long delay,
TimeUnit unit) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringpublic ConcurrentScheduler(int schedulerCount,
int threadsPerScheduler,
String threadBaseName)
public static ConcurrentScheduler createConcurrentScheduler(String threadBaseName, int concurrency, int totalThreads)
protected void doStart()
doStart in class org.eclipse.jetty.util.component.AbstractLifeCycleprotected void doStop()
doStop in class org.eclipse.jetty.util.component.AbstractLifeCycleCopyright © 2010–2023 Airlift. All rights reserved.