public final class MatsTraceStringImpl extends MatsTraceFieldImpl<java.lang.String>
MatsTraceFieldImpl
which uses String for Z, meant to use JSON to serialize the DTO and STO
payloads. Employed by MatsSerializerJson
.MatsTraceFieldImpl.CallImpl<Z>
MatsTrace.Call<Z>, MatsTrace.KeepMatsTrace, MatsTrace.StackState<Z>
Modifier and Type | Method and Description |
---|---|
static MatsTrace<java.lang.String> |
createNew(java.lang.String traceId,
java.lang.String flowId,
MatsTrace.KeepMatsTrace keepMatsTrace,
boolean nonPersistent,
boolean interactive,
long ttlMillis,
boolean noAudit)
Creates a new
MatsTrace . |
addGotoCall, addNextCall, addReplyCall, addRequestCall, addSendCall, cloneForNewCall, getCallFlow, getCallNumber, getCurrentCall, getCurrentSpanId, getCurrentState, getDebugInfo, getFlowId, getInitializedTimestamp, getInitializingAppName, getInitializingAppVersion, getInitializingHost, getInitiatorId, getKeepTrace, getParentMatsMessageId, getSameHeightEndpointEnteredTimestamp, getSameHeightOutgoingTimestamp, getStateFlow, getStateStack_internal, getStateStack, getTimeToLive, getTotalCallNumber, getTraceId, getTraceProperty, getTracePropertyKeys, isInteractive, isNoAudit, isNonPersistent, overrideInitializationTimestamp, setOutgoingTimestamp, setStageEnteredTimestamp, setTraceProperty, toString, withChildFlow, withDebugInfo
public static MatsTrace<java.lang.String> createNew(java.lang.String traceId, java.lang.String flowId, MatsTrace.KeepMatsTrace keepMatsTrace, boolean nonPersistent, boolean interactive, long ttlMillis, boolean noAudit)
MatsTrace
. Must add a Call
before sending.traceId
- the user-defined hopefully-unique id for this call flow.flowId
- the system-defined pretty-much-(for all purposes)-guaranteed-unique id for this call flow.keepMatsTrace
- the level of "trace keeping".nonPersistent
- if the messages in this flow should be non-persistentinteractive
- if the messages in this flow is of "interactive" priority.ttlMillis
- the number of milliseconds the message should live before being time out. 0 means "forever", and is
the default.noAudit
- hint to the underlying implementation, or to any monitoring/auditing tooling on the Message Broker,
that it does not make much value in auditing this message flow, typically because it is just a
"getter" of information to show to some user, or a health-check validating that some service is up and
answers in a timely fashion.MatsTrace
.