public class ExecutorStateEvent extends Object
Constructor and Description |
---|
ExecutorStateEvent(ExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
void |
accept(software.amazon.kinesis.coordinator.DiagnosticEventHandler visitor)
DiagnosticEvent is part of a visitor pattern and it accepts DiagnosticEventHandler visitors.
|
String |
message()
The string to output to logs when a DiagnosticEvent occurs.
|
public ExecutorStateEvent(ExecutorService executor)
public void accept(software.amazon.kinesis.coordinator.DiagnosticEventHandler visitor)
visitor
- A handler that that controls the behavior of the DiagnosticEvent when invoked.public String message()
Copyright © 2021. All rights reserved.