Class Impl
java.lang.Object
io.perfmark.Impl
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Linkprivate static final longThis value is currentLong.MIN_VALUE, but it could also be0.(package private) static final Tag(package private) static final long(package private) static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidprotected <T> voidprotected <T> voidattachTag(String tagName, T tagObject, ToIntFunction<? super T> intFunction) protected <T> voidattachTag(String tagName, T tagObject, ToLongFunction<? super T> longFunction) protected Tagprotected voidprotected voidprotected voidprotected voidprotected LinklinkOut()protected static LinkpackLink(long linkId) protected static Tagprotected voidsetEnabled(boolean value) protected booleansetEnabled(boolean value, boolean overload) protected voidprotected voidprotected voidprotected <T> voidprotected voidstopTask()protected voidprotected voidprotected voidprotected static longunpackLinkId(Link link) protected static longunpackTagId(Tag tag) protected static StringunpackTagName(Tag tag)
-
Field Details
-
NO_TAG_NAME
- See Also:
-
NO_TAG_ID
static final long NO_TAG_ID- See Also:
-
NO_LINK_ID
private static final long NO_LINK_IDThis value is currentLong.MIN_VALUE, but it could also be0. The invariantNO_LINK_ID == -NO_LINK_IDmust be maintained to work when PerfMark is disabled.- See Also:
-
NO_TAG
-
NO_LINK
-
-
Constructor Details
-
Impl
The Noop implementation
-
-
Method Details
-
setEnabled
protected void setEnabled(boolean value) -
setEnabled
protected boolean setEnabled(boolean value, boolean overload) -
startTask
-
startTask
-
startTask
-
startTask
-
event
-
event
-
event
-
stopTask
protected void stopTask() -
stopTask
-
stopTask
-
stopTask
-
linkOut
-
linkIn
-
attachTag
-
attachTag
-
attachTag
-
attachTag
-
attachTag
-
attachTag
-
attachTag
-
createTag
-
unpackTagName
-
unpackTagId
-
unpackLinkId
-
packTag
-
packLink
-