Package io.perfmark.impl
Class Storage
- java.lang.Object
-
- io.perfmark.impl.Storage
-
public final class Storage extends java.lang.ObjectStorage is responsible for storing and returning recorded marks. This is a low level class and not intended for use by users. Instead, theTraceEventWriterandTraceEventViewerclasses provide easier to use APIs for accessing PerfMark data.This code is NOT API stable, and may be removed in the future, or changed without notice.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetInitNanoTime()static java.util.List<MarkList>read()Returns a list ofMarkLists across all reachable threads.static MarkListreadForTest()static voidresetForTest()
-
-
-
Method Detail
-
getInitNanoTime
public static long getInitNanoTime()
-
read
public static java.util.List<MarkList> read()
Returns a list ofMarkLists across all reachable threads.- Returns:
- all reachable MarkLists.
-
resetForTest
public static void resetForTest()
-
readForTest
@Nullable public static MarkList readForTest()
-
-