public final class EventTelemetry extends BaseTelemetry<EventData>
Constructor and Description |
---|
EventTelemetry()
Default initialization for a new instance.
|
EventTelemetry(java.lang.String name)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
additionalSanitize()
Sanitize additional stuff besides the common
|
protected EventData |
getData()
Fetches the data structure the instance works with
|
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Double> |
getMetrics()
Gets a map of application-defined event metrics.
|
java.lang.String |
getName()
Gets the name of the event.
|
void |
setName(java.lang.String name)
Sets the name of the event.
|
getContext, getProperties, getSequence, getTimestamp, initialize, sanitize, serialize, setSequence, setTimestamp
public EventTelemetry()
public EventTelemetry(java.lang.String name)
name
- The event's name.public java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Double> getMetrics()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Name of the eventprotected void additionalSanitize()
additionalSanitize
in class BaseTelemetry<EventData>
protected EventData getData()
getData
in class BaseTelemetry<EventData>