IFusionRequestSurrogatepublic interface ITransactionSurrogate
| Modifier and Type | Method | Description |
|---|---|---|
String |
getApplicationName() |
|
ITransactionSurrogate |
getDeepestActiveChild() |
|
String |
getDescription() |
|
ITransactionSurrogate[] |
getDirectChildren() |
|
long |
getDuration() |
|
long |
getDurationNanos() |
|
long |
getEndTime() |
|
long |
getEndTimeNanos() |
|
String |
getFlavor() |
|
String |
getFullTransactionId() |
Gets the complete transaction identifier, which is unique between domains, sessions and
transactions.
|
ITransactionSurrogate |
getMasterTransaction() |
|
ITransactionSurrogate |
getParentTransaction() |
|
long |
getPerFlavorTransactionId() |
Get the per-flavor ID of this transaction.
|
Map<String,Object> |
getProperties() |
|
String |
getSampledState() |
|
String |
getSecureDescription() |
|
String |
getSpanId() |
|
long |
getStartTime() |
|
long |
getStartTimeNanos() |
|
String |
getStatus() |
Possible values:
"Waiting" - The transaction has been created but not yet opened
"Open" - transaction is currently active
"Opening"
"Rejected" - The transaction was rejected by a transaction gate decision and should not have started.
"Timed Out" - The transaction timed out and was closed.
"Finished" - The transaction was closed by API.
"Kill Pending" - The transaction is in the process of being killed.
"Kill Failed" - The transaction could not be killed, or has not yet died.
"Soft Killed" - The transaction was killed by API.
"Killed" - The transaction was killed by API.
"Cascade Closed" - Parent transaction was closed causing this transaction to be closed too.
|
String |
getSubFlavor() |
|
long |
getThreadId() |
|
String |
getThreadName() |
|
String |
getTraceId() |
|
long |
getTransactionId() |
Get the ID of this transaction.
|
String |
getTransactionName() |
|
Throwable |
getTrappedThrowable() |
|
boolean |
hasChildren() |
|
boolean |
isFinished() |
|
boolean |
isInError() |
|
boolean |
isMasterTransaction() |
|
boolean |
isSampled() |
Effectively,
isSampled() == getSampledState() != "UNSAMPLED" |
String getDescription()
null if not setString getSecureDescription()
null if not setString getApplicationName()
MyApplication.String getTransactionName()
String getFlavor()
WebRequest, JDBCRequest, etc.String getSubFlavor()
String getFullTransactionId()
DOMAIN-ID/SESSION-ID/TRANSACTION-IDlong getTransactionId()
Long.MAX_VALUE is reached.long getPerFlavorTransactionId()
Long.MAX_VALUE is exceeded.long getStartTime()
long getStartTimeNanos()
System.nanoTime() at the time the transaction was started.long getEndTime()
-1 if the transaction's not finished.long getEndTimeNanos()
System.nanoTime() at the time the transaction was ended. -1 if the transaction's not finished.long getDuration()
long getDurationNanos()
Map<String,Object> getProperties()
ITransactionSurrogate getMasterTransaction()
null if this is the root transaction.ITransactionSurrogate getParentTransaction()
null if this is the root transaction.ITransactionSurrogate getDeepestActiveChild()
null if no deepest active child. May also return this transaction.ITransactionSurrogate[] getDirectChildren()
boolean hasChildren()
true if this transaction has any children, false otherwise.boolean isMasterTransaction()
true if this transaction is the master/root transaction, false otherwise.String getStatus()
"Waiting" - The transaction has been created but not yet opened"Open" - transaction is currently active"Opening""Rejected" - The transaction was rejected by a transaction gate decision and should not have started."Timed Out" - The transaction timed out and was closed."Finished" - The transaction was closed by API."Kill Pending" - The transaction is in the process of being killed."Kill Failed" - The transaction could not be killed, or has not yet died."Soft Killed" - The transaction was killed by API."Killed" - The transaction was killed by API."Cascade Closed" - Parent transaction was closed causing this transaction to be closed too.long getThreadId()
String getThreadName()
boolean isFinished()
true if this transaction is finished, false otherwise.boolean isInError()
true if this transaction is flagged as being in a state of error, false otherwise.Throwable getTrappedThrowable()
Throwable that is associated with this transaction. null if no error was trapped.String getTraceId()
String getSpanId()
String getSampledState()
UNSAMPLED, SAMPLED, UNSAMPLED_ITTboolean isSampled()
isSampled() == getSampledState() != "UNSAMPLED"true if this transaction is sampled, to be exported as a trace span, false otherwise.Copyright © 2005-2026 Intergral Information Solutions GmbH. All Rights Reserved.