Package 

Interface PendingTraceBuffer.Element

    • Method Summary

      Modifier and Type Method Description
      abstract long oldestFinishedTime()
      abstract boolean lastReferencedNanosAgo(long nanos)
      abstract void write()
      abstract DDSpan getRootSpan()
      abstract boolean setEnqueued(boolean enqueued) Set or clear if the {@code Element} is enqueued.
      abstract boolean writeOnBufferFull()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • write

         abstract void write()
      • setEnqueued

         abstract boolean setEnqueued(boolean enqueued)

        Set or clear if the {@code Element} is enqueued. Needs to be atomic.

        Parameters:
        enqueued - true if the enqueued state should be set or false if it should be cleared