static class ExecutorService.Executor extends Object
Modifier and Type | Field and Description |
---|---|
private Map<EventType,EventHandler.EventHandlerListener> |
eventHandlerListeners |
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 |
ExecutorService.Executor(String name,
int maxThreads,
Map<EventType,EventHandler.EventHandlerListener> eventHandlerListeners) |
Modifier and Type | Method and Description |
---|---|
ExecutorService.ExecutorStatus |
getStatus() |
(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 final String name
private final Map<EventType,EventHandler.EventHandlerListener> eventHandlerListeners
private static final AtomicLong seqids
private final long id
protected ExecutorService.Executor(String name, int maxThreads, Map<EventType,EventHandler.EventHandlerListener> eventHandlerListeners)
void submit(EventHandler event)
event
- public ExecutorService.ExecutorStatus getStatus()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.