public interface E2ETraceTransaction
Modifier and Type | Interface and Description |
---|---|
static class |
E2ETraceTransaction.TransactionStatus
Status of the Transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
endStep(E2ETraceStep step)
Deprecated.
This API is not necessary as it's essentially the same as
step.endStep() . Kept only to be compatible with
initial API specs. |
void |
endTransaction()
Ends the transaction including its active step, if there's one.
|
E2ETraceStep |
getActiveStep()
Returns the active
E2ETraceStep for the given transaction or null if there's no active step at the time of invocation |
java.lang.String |
getBTX()
Retrieves the Business Transaction XML (BTX) belonging to this transaction.
|
E2ETraceTransaction.TransactionStatus |
getStatus()
Returns the status of the transaction.
|
E2ETraceStep |
startStep()
Creates and starts a new
E2ETraceStep in the context of this transaction. |
void endTransaction()
java.lang.String getBTX() throws E2ETraceException
endTransaction()
.E2ETraceException
- if the generation of the BTX has been failedE2ETraceStep getActiveStep()
E2ETraceStep
for the given transaction or null if there's no active step at the time of invocationE2ETraceStep startStep()
E2ETraceStep
in the context of this transaction. In case the transaction has already ended then
null is returned. In case there's a currently running step, it ends that, starts a new one and returns it.
Note that even if a non-null trace step is returned it might still be invalidated by other threads if the enclosing transaction is ended. In this case the information collected by that trace step instance (including all its requests) will not make it into the BTX.
@Deprecated void endStep(E2ETraceStep step)
step.endStep()
. Kept only to be compatible with
initial API specs.step
- the trace step, can be nullE2ETraceTransaction.TransactionStatus getStatus()