kieker.common.record.flow.trace
Class Trace
java.lang.Object
kieker.common.record.AbstractMonitoringRecord
kieker.common.record.flow.trace.Trace
- All Implemented Interfaces:
- Serializable, Comparable<IMonitoringRecord>, IFlowRecord, IMonitoringRecord, IMonitoringRecord.Factory
public final class Trace
- extends AbstractMonitoringRecord
- implements IMonitoringRecord.Factory, IFlowRecord
- Author:
- Jan Waller
- See Also:
- Serialized Form
Constructor Summary |
Trace(long traceId,
long threadId,
String sessionId,
String hostname,
long parentTraceId,
int parentOrderId)
|
Trace(Object[] values)
|
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
NO_SESSION_ID
public static final String NO_SESSION_ID
- Constant to be used if no sessionId required.
- See Also:
- Constant Field Values
NO_HOSTNAME
public static final String NO_HOSTNAME
- Constant to be used if no hostname required.
- See Also:
- Constant Field Values
NO_PARENT_TRACEID
public static final long NO_PARENT_TRACEID
- Constant to be used if no trace parent ID required.
- See Also:
- Constant Field Values
NO_PARENT_ORDER_INDEX
public static final int NO_PARENT_ORDER_INDEX
- Constant to be used if no trace parent order index required.
- See Also:
- Constant Field Values
Trace
public Trace(long traceId,
long threadId,
String sessionId,
String hostname,
long parentTraceId,
int parentOrderId)
- Parameters:
traceId
- threadId
- sessionId
- the session ID; use NO_SESSION_ID
if no session ID desired.hostname
- the host name; use NO_HOSTNAME
if no host name desired.parentTraceId
- the ID of the parent trace; use NO_PARENT_TRACEID
if not desired.parentOrderId
- the order index within the parent trace; use NO_PARENT_ORDER_INDEX
if not desired.
Trace
public Trace(Object[] values)
toArray
public final Object[] toArray()
- Specified by:
toArray
in interface IMonitoringRecord
getValueTypes
public final Class<?>[] getValueTypes()
- Specified by:
getValueTypes
in interface IMonitoringRecord
initFromArray
@Deprecated
public final void initFromArray(Object[] values)
- Deprecated.
- Specified by:
initFromArray
in interface IMonitoringRecord
getTraceId
public final long getTraceId()
getThreadId
public final long getThreadId()
getSessionId
public final String getSessionId()
getHostname
public final String getHostname()
getParentTraceId
public final long getParentTraceId()
getParentOrderId
public final int getParentOrderId()
getNextOrderId
public final int getNextOrderId()
Copyright 2012 Kieker Project, http://kieker-monitoring.net>