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 Details

    • linkId

      final long linkId
  • Constructor Details

    • Link

      Link(long linkId)
  • Method Details