Class OperationTrace
java.lang.Object
org.pipservices3.components.trace.OperationTrace
Data object to store captured operation traces.
This object is used by
CachedTracer.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of componentThe transaction id to trace execution through call chain.longThe duration of the operation in millisecondsorg.pipservices3.commons.errors.ErrorDescriptionThe description of the captured errorThe name of the executed operationThe source (context name)The time when operation was executed -
Constructor Summary
ConstructorsConstructorDescriptionOperationTrace(ZonedDateTime time, String source, String component, String operation, String correlationId, long duration, org.pipservices3.commons.errors.ErrorDescription error) -
Method Summary
-
Field Details
-
time
The time when operation was executed -
source
The source (context name) -
component
The name of component -
operation
The name of the executed operation -
correlationId
The transaction id to trace execution through call chain. -
duration
public long durationThe duration of the operation in milliseconds -
error
public org.pipservices3.commons.errors.ErrorDescription errorThe description of the captured errorErrorDescriptionApplicationException
-
-
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)
-