public static class ExecutorService.ExecutorStatus extends Object
Modifier and Type | Field and Description |
---|---|
(package private) ExecutorService.Executor |
executor |
(package private) List<EventHandler> |
queuedEvents |
(package private) List<ExecutorService.RunningEventStatus> |
running |
Constructor and Description |
---|
ExecutorStatus(ExecutorService.Executor executor,
List<EventHandler> queuedEvents,
List<ExecutorService.RunningEventStatus> running) |
Modifier and Type | Method and Description |
---|---|
void |
dumpTo(Writer out,
String indent)
Dump a textual representation of the executor's status to the given writer.
|
final ExecutorService.Executor executor
final List<EventHandler> queuedEvents
final List<ExecutorService.RunningEventStatus> running
ExecutorStatus(ExecutorService.Executor executor, List<EventHandler> queuedEvents, List<ExecutorService.RunningEventStatus> running)
public void dumpTo(Writer out, String indent) throws IOException
out
- the stream to write toindent
- a string prefix for each line, used for indentationIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.