Package io.perfmark.impl
Class MarkHolder
- java.lang.Object
-
- io.perfmark.impl.MarkHolder
-
public abstract class MarkHolder extends java.lang.ObjectA MarkHolder records Marks for later retrieval.
-
-
Field Summary
Fields Modifier and Type Field Description static intNO_MAX_MARKS
-
Constructor Summary
Constructors Modifier Constructor Description protectedMarkHolder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intmaxMarks()abstract java.util.List<MarkList>read()voidread(java.util.Collection<? super MarkList> destination)voidresetForAll()Attempts to remove all Marks in this mark holder.voidresetForThread()Attempts to remove all Marks for the calling thread.
-
-
-
Field Detail
-
NO_MAX_MARKS
public static final int NO_MAX_MARKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public abstract java.util.List<MarkList> read()
-
read
public void read(java.util.Collection<? super MarkList> destination)
-
maxMarks
public int maxMarks()
-
-