Package io.perfmark

Class Impl

java.lang.Object
io.perfmark.Impl

public class Impl extends Object
  • Field Details

    • NO_TAG_NAME

      static final String NO_TAG_NAME
      See Also:
    • NO_TAG_ID

      static final long NO_TAG_ID
      See Also:
    • NO_TAG

      static final Tag NO_TAG
  • Constructor Details

    • Impl

      protected Impl(Tag key)
      The Noop implementation
  • Method Details

    • setEnabled

      protected void setEnabled(boolean value)
    • setEnabled

      protected boolean setEnabled(boolean value, boolean overload)
    • startTask

      protected <T> void startTask(T taskNameObject, Function<? super T,String> taskNameFunc)
    • startTask

      protected void startTask(String taskName, Tag tag)
    • startTask

      protected void startTask(String taskName)
    • startTask

      protected void startTask(String taskName, String subTaskName)
    • event

      protected void event(String eventName, Tag tag)
    • event

      protected void event(String eventName)
    • event

      protected void event(String eventName, String subEventName)
    • stopTask

      protected void stopTask()
    • stopTask

      protected void stopTask(String taskName, Tag tag)
    • stopTask

      protected void stopTask(String taskName)
    • stopTask

      protected void stopTask(String taskName, String subTaskName)
    • linkOut

      protected Link linkOut()
    • linkIn

      protected void linkIn(Link link)
    • attachTag

      protected void attachTag(Tag tag)
    • attachTag

      protected void attachTag(String tagName, String tagValue)
    • attachTag

      protected void attachTag(String tagName, long tagValue)
    • attachTag

      protected void attachTag(String tagName, long tagValue0, long tagValue1)
    • attachTag

      protected <T> void attachTag(String tagName, T tagObject, Function<? super T,? extends String> stringFunction)
    • attachTag

      protected <T> void attachTag(String tagName, T tagObject, ToIntFunction<? super T> intFunction)
    • attachTag

      protected <T> void attachTag(String tagName, T tagObject, ToLongFunction<? super T> longFunction)
    • createTag

      protected Tag createTag(String tagName, long tagId)
    • unpackTagName

      protected static String unpackTagName(Tag tag)
    • unpackTagId

      protected static long unpackTagId(Tag tag)
    • unpackLinkId

      protected static long unpackLinkId(Link link)
    • packTag

      protected static Tag packTag(String tagName, long tagId)
    • packLink

      protected static Link packLink(long linkId)