public interface OptionalThreadContext extends ThreadContext
Modifier and Type | Interface and Description |
---|---|
static class |
OptionalThreadContext.AlreadyInTransactionBehavior |
ThreadContext.Priority, ThreadContext.ServletRequestInfo
Modifier and Type | Method and Description |
---|---|
boolean |
isInTransaction() |
TraceEntry |
startTransaction(String transactionType,
String transactionName,
MessageSupplier messageSupplier,
TimerName timerName)
If there is no active transaction, a new transaction is started.
|
TraceEntry |
startTransaction(String transactionType,
String transactionName,
MessageSupplier messageSupplier,
TimerName timerName,
OptionalThreadContext.AlreadyInTransactionBehavior alreadyInTransactionBehavior) |
addErrorEntry, addErrorEntry, addErrorEntry, addTransactionAttribute, createAuxThreadContext, getServletRequestInfo, setServletRequestInfo, setTransactionAsync, setTransactionAsyncComplete, setTransactionError, setTransactionError, setTransactionError, setTransactionName, setTransactionOuter, setTransactionSlowThreshold, setTransactionType, setTransactionUser, startAsyncQueryEntry, startAsyncServiceCallEntry, startAsyncTraceEntry, startQueryEntry, startQueryEntry, startServiceCallEntry, startTimer, startTraceEntry
boolean isInTransaction()
TraceEntry startTransaction(String transactionType, String transactionName, MessageSupplier messageSupplier, TimerName timerName)
ThreadContext.startTraceEntry(MessageSupplier, TimerName)
(the transaction name and type are not
modified on the existing transaction).TraceEntry startTransaction(String transactionType, String transactionName, MessageSupplier messageSupplier, TimerName timerName, OptionalThreadContext.AlreadyInTransactionBehavior alreadyInTransactionBehavior)
Copyright © 2011–2018 Glowroot contributors. All rights reserved.