Package org.apache.flink.events
Interface Event
-
- All Known Implementing Classes:
SimpleEvent
@Experimental public interface EventEventrepresents an event that happened in Flink for reporting, e.g. a completed checkpoint or a restart.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static EventBuilderbuilder(Class<?> classScope, String name)Map<String,Object>getAttributes()Additional attributes for the event.StringgetBody()Textual description of the event.StringgetClassScope()The scope of the event, typically the fully qualified name of the emitting class.StringgetName()The name of the event.longgetObservedTsMillis()The timestamp for when the event happened or was observed, in milliseconds.StringgetSeverity()Severity of the event, e.g.
-
-
-
Method Detail
-
builder
static EventBuilder builder(Class<?> classScope, String name)
-
getObservedTsMillis
long getObservedTsMillis()
The timestamp for when the event happened or was observed, in milliseconds.
-
getName
String getName()
The name of the event.
-
getClassScope
String getClassScope()
The scope of the event, typically the fully qualified name of the emitting class.
-
getBody
String getBody()
Textual description of the event.
-
getSeverity
String getSeverity()
Severity of the event, e.g. DEBUG, INFO, ...
-
-