Package io.perfmark

Class Link

java.lang.Object
io.perfmark.Link

public final class Link extends Object
A link represents a linkage between asynchronous tasks. A link is created inside of a started task. The resulting Link object can then be passed to other asynchronous tasks to associate them with the original task.

A source task may have multiple outbound links pointing to other tasks. However, calling PerfMark.linkIn(Link) only work if it is the first such call. Subsequent calls have no effect.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Link(long linkId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • linkId

      final long linkId
  • Constructor Details

    • Link

      Link(long linkId)
  • Method Details