Package org.apache.flink.events
Class SimpleEvent
- java.lang.Object
-
- org.apache.flink.events.SimpleEvent
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
getObservedTsMillis
public long getObservedTsMillis()
Description copied from interface:EventThe timestamp for when the event happened or was observed, in milliseconds.- Specified by:
getObservedTsMillisin interfaceEvent
-
getClassScope
public String getClassScope()
Description copied from interface:EventThe scope of the event, typically the fully qualified name of the emitting class.- Specified by:
getClassScopein interfaceEvent
-
getBody
public String getBody()
Description copied from interface:EventTextual description of the event.
-
getSeverity
public String getSeverity()
Description copied from interface:EventSeverity of the event, e.g. DEBUG, INFO, ...- Specified by:
getSeverityin interfaceEvent
-
-