Class OperationTrace

java.lang.Object
org.pipservices3.components.trace.OperationTrace

public class OperationTrace extends Object
Data object to store captured operation traces. This object is used by CachedTracer.
  • Field Details

    • time

      public ZonedDateTime time
      The time when operation was executed
    • source

      public String source
      The source (context name)
    • component

      public String component
      The name of component
    • operation

      public String operation
      The name of the executed operation
    • correlationId

      public String correlationId
      The transaction id to trace execution through call chain.
    • duration

      public long duration
      The duration of the operation in milliseconds
    • error

      public org.pipservices3.commons.errors.ErrorDescription error
      The description of the captured error

      ErrorDescription ApplicationException

  • Constructor Details

    • OperationTrace

      public OperationTrace()
    • OperationTrace

      public OperationTrace(ZonedDateTime time, String source, String component, String operation, String correlationId, long duration, org.pipservices3.commons.errors.ErrorDescription error)