Class Event

java.lang.Object
one.jfr.event.Event
All Implemented Interfaces:
Comparable<Event>
Direct Known Subclasses:
AllocationSample, ContendedLock, CPULoad, ExecutionSample, GCHeapSummary, LiveObject, MallocEvent, ObjectCount

public abstract class Event extends Object implements Comparable<Event>
  • Field Details

    • time

      public final long time
    • tid

      public final int tid
    • stackTraceId

      public final int stackTraceId
  • Constructor Details

    • Event

      protected Event(long time, int tid, int stackTraceId)
  • Method Details

    • compareTo

      public int compareTo(Event o)
      Specified by:
      compareTo in interface Comparable<Event>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • sameGroup

      public boolean sameGroup(Event o)
    • classId

      public long classId()
    • samples

      public long samples()
    • value

      public long value()