Package io.perfmark
Class Link
- java.lang.Object
-
- io.perfmark.Link
-
public final class Link extends java.lang.ObjectA link represents a linkage between asynchronous tasks. A link is created inside of a started task. The resultingLinkobject 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
link()only work if it is the first such call. Subsequent calls tolink()have no effect.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlink()Associate this link with the most recently started task.
-