Class MarkHolder
java.lang.Object
io.perfmark.impl.MarkHolder
- Direct Known Subclasses:
MarkHolderRecorder, SynchronizedMarkHolder, VarHandleMarkHolder
A MarkHolder records Marks for later retrieval.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmaxMarks()read()voidread(Collection<? super MarkList> destination) voidAttempts to remove all Marks in this mark holder.voidAttempts to remove all Marks for the calling thread.
-
Field Details
-
NO_MAX_MARKS
public static final int NO_MAX_MARKS- See Also:
-
-
Constructor Details
-
MarkHolder
protected MarkHolder()
-
-
Method Details
-
resetForThread
public void resetForThread()Attempts to remove all Marks for the calling thread. -
resetForAll
public void resetForAll()Attempts to remove all Marks in this mark holder. -
read
-
read
-
maxMarks
public int maxMarks()
-