Class QueryTrace.Event

  • Enclosing class:
    QueryTrace

    public static class QueryTrace.Event
    extends Object
    A trace event.

    A query trace is composed of a list of trace events.

    • Method Detail

      • getDescription

        public String getDescription()
        The event description, that is which activity this event correspond to.
        Returns:
        the event description.
      • getTimestamp

        public long getTimestamp()
        Returns the server side timestamp of the event.
        Returns:
        the server side timestamp of the event.
      • getSource

        public InetAddress getSource()
        Returns the address of the host having generated this event.
        Returns:
        the address of the host having generated this event.
      • getSourceElapsedMicros

        public int getSourceElapsedMicros()
        Returns the number of microseconds elapsed on the source when this event occurred since when the source started handling the query.
        Returns:
        the elapsed time on the source host when that event happened in microseconds.
      • getThreadName

        public String getThreadName()
        Returns the name of the thread on which this event occurred.
        Returns:
        the name of the thread on which this event occurred.