Class SingleThreadLocalMarker


  • class SingleThreadLocalMarker
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicReference<java.lang.Thread> markedThread  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean isMarked()  
      (package private) java.lang.Thread mark()  
      (package private) void reset​(java.lang.Thread previousValue)  
      • Methods inherited from class java.lang.Object

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

      • markedThread

        private final java.util.concurrent.atomic.AtomicReference<java.lang.Thread> markedThread
    • Constructor Detail

      • SingleThreadLocalMarker

        SingleThreadLocalMarker()
    • Method Detail

      • mark

        java.lang.Thread mark()
      • reset

        void reset​(java.lang.Thread previousValue)
      • isMarked

        boolean isMarked()