Class MarkRecorderRef


  • public final class MarkRecorderRef
    extends java.lang.Object
    Represents a MarkRecorder ID and the Thread that created it.
    • Method Detail

      • allocateMarkRecorderId

        public static long allocateMarkRecorderId()
      • newRef

        public static MarkRecorderRef newRef​(ThreadInfo threadInfo)
        Creates a new MarkRecorderRef that can update the thread name and ID from the given Thread Reference.
      • newRef

        public static MarkRecorderRef newRef()
        Creates a new MarkRecorderRef that can update the thread name and ID from the current thread.
      • markRecorderId

        public long markRecorderId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object