static class ExecutorService.Executor extends Object
Modifier and Type | Field and Description |
---|---|
private long |
id |
(package private) static long |
keepAliveTimeInMillis |
private String |
name |
(package private) BlockingQueue<Runnable> |
q |
private static AtomicLong |
seqids |
(package private) ExecutorService.TrackingThreadPoolExecutor |
threadPoolExecutor |
Modifier | Constructor and Description |
---|---|
protected |
Executor(String name,
int maxThreads) |
Modifier and Type | Method and Description |
---|---|
ExecutorService.ExecutorStatus |
getStatus() |
(package private) ExecutorService.TrackingThreadPoolExecutor |
getThreadPoolExecutor() |
(package private) void |
submit(EventHandler event)
Submit the event to the queue for handling.
|
String |
toString() |
static final long keepAliveTimeInMillis
final ExecutorService.TrackingThreadPoolExecutor threadPoolExecutor
final BlockingQueue<Runnable> q
private static final AtomicLong seqids
private final long id
void submit(EventHandler event)
event
- ExecutorService.TrackingThreadPoolExecutor getThreadPoolExecutor()
public ExecutorService.ExecutorStatus getStatus()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.