Package io.perfmark.impl
Class Storage.MarkHolderHandle
- java.lang.Object
-
- io.perfmark.impl.Storage.MarkHolderHandle
-
- Enclosing class:
- Storage
public static final class Storage.MarkHolderHandle extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarkHoldermarkHolder()Returns the MarkHolder.java.lang.ref.WeakReference<? extends java.lang.Thread>threadRef()Returns a weak reference to the Thread that created the MarkHolder.
-
-
-
Method Detail
-
markHolder
public MarkHolder markHolder()
Returns the MarkHolder. May returnnullif the Thread is gone. Ifnullis returned, thengetThreadRef().get() == null. If a non-nullvalue is returned, the thread may be dead or alive. Additionally, since thethreadRefmay be externally cleared, it is not certain that the Thread is dead.
-
threadRef
public java.lang.ref.WeakReference<? extends java.lang.Thread> threadRef()
Returns a weak reference to the Thread that created the MarkHolder.
-
-