|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.common.record.AbstractMonitoringRecord kieker.common.record.flow.trace.Trace
public final class Trace
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface kieker.common.record.IMonitoringRecord |
---|
IMonitoringRecord.Factory |
Field Summary | |
---|---|
static String |
NO_HOSTNAME
Constant to be used if no hostname required. |
static int |
NO_PARENT_ORDER_INDEX
Constant to be used if no trace parent order index required. |
static long |
NO_PARENT_TRACEID
Constant to be used if no trace parent ID required. |
static String |
NO_SESSION_ID
Constant to be used if no sessionId required. |
Constructor Summary | |
---|---|
Trace(long traceId,
long threadId,
String sessionId,
String hostname,
long parentTraceId,
int parentOrderId)
Creates a new instance of this class using the given parameters. |
|
Trace(Object[] values)
Creates a new instance of this class using the given parameter. |
Method Summary | |
---|---|
String |
getHostname()
|
int |
getNextOrderId()
|
int |
getParentOrderId()
|
long |
getParentTraceId()
|
String |
getSessionId()
|
long |
getThreadId()
|
long |
getTraceId()
|
Class<?>[] |
getValueTypes()
This method should deliver an array with the classes of the single values for the record. |
void |
initFromArray(Object[] values)
Deprecated. This record uses the IMonitoringRecord.Factory mechanism. Hence, this method is not implemented. |
Object[] |
toArray()
This method should deliver an array containing the content of the record. |
Methods inherited from class kieker.common.record.AbstractMonitoringRecord |
---|
checkArray, classForName, compareTo, createFromArray, createFromStringArray, equals, fromStringArrayToTypedArray, getLoggingTimestamp, hashCode, setLoggingTimestamp, toString, typesForClass |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface kieker.common.record.IMonitoringRecord |
---|
getLoggingTimestamp, setLoggingTimestamp, toString |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final String NO_SESSION_ID
public static final String NO_HOSTNAME
public static final long NO_PARENT_TRACEID
public static final int NO_PARENT_ORDER_INDEX
Constructor Detail |
---|
public Trace(long traceId, long threadId, String sessionId, String hostname, long parentTraceId, int parentOrderId)
traceId
- The trace ID.threadId
- The thread ID.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.public Trace(Object[] values)
values
- The array containing the values for the fields of this class. This should normally be the array resulting in a call to toArray()
.Method Detail |
---|
public final Object[] toArray()
toArray
in interface IMonitoringRecord
public final Class<?>[] getValueTypes()
getValueTypes
in interface IMonitoringRecord
IMonitoringRecord.toArray()
@Deprecated public final void initFromArray(Object[] values)
IMonitoringRecord.Factory
mechanism. Hence, this method is not implemented.
IMonitoringRecord.toArray()
.
initFromArray
in interface IMonitoringRecord
values
- The values for the record.public final long getTraceId()
public final long getThreadId()
public final String getSessionId()
public final String getHostname()
public final long getParentTraceId()
public final int getParentOrderId()
public final int getNextOrderId()
|
Kieker 1.7 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |