Class DeploymentSpan

  • All Implemented Interfaces:
    AutoCloseable

    public class DeploymentSpan
    extends Object
    implements AutoCloseable
    Span is a duration of time an event took place. Its position in the hierarchy is identified by TraceContext, the action being performed by any enum value. Optionally it can contain the name of the component on which the action is performed.
    • Method Detail

      • getStart

        public Instant getStart()
      • getFinish

        public Instant getFinish()
      • getDuration

        public Duration getDuration()
      • getAction

        public Enum<?> getAction()
      • close

        public void close()
        Close the current span. This marks the end of the span.
        Specified by:
        close in interface AutoCloseable
        Throws:
        Exception
      • getNestLevel

        public int getNestLevel()
        Determined level of nesting.
        Returns: