Class Event

java.lang.Object
backtraceio.library.models.metrics.Event
Direct Known Subclasses:
SummedEvent, UniqueEvent

public abstract class Event extends Object
  • Field Details

    • timestamp

      @SerializedName("timestamp") protected long timestamp
    • attributes

      @SerializedName("attributes") protected Map<String,Object> attributes
  • Constructor Details

    • Event

      public Event(long timestamp)
  • Method Details

    • getTimestamp

      public long getTimestamp()
    • getAttributes

      public Map<String,Object> getAttributes()
    • getName

      public abstract String getName()
    • addAttributesImpl

      protected void addAttributesImpl(Map<String,Object> attributes)