public class SqlTraceServiceImpl extends AbstractService implements SqlTraceService, TransactionListener, HarvestListener
logger| Constructor and Description |
|---|
SqlTraceServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterHarvest(java.lang.String appName)
Called after the harvest.
|
void |
beforeHarvest(java.lang.String appName,
StatsEngine statsEngine)
Called before the harvest.
|
void |
dispatcherTransactionFinished(TransactionData td,
TransactionStats transactionStats)
Called after a dispatcher transaction finishes on the request thread.
|
protected void |
doStart() |
protected void |
doStop() |
SlowQueryListener |
getSlowQueryListener(java.lang.String appName) |
boolean |
isEnabled()
Is the service enabled.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stoppublic boolean isEnabled()
Serviceprotected void doStart()
doStart in class AbstractServiceprotected void doStop()
doStop in class AbstractServicepublic void dispatcherTransactionFinished(TransactionData td, TransactionStats transactionStats)
TransactionListenerdispatcherTransactionFinished in interface TransactionListenertd - the final data from the transactiontransactionStats - the final metric information from the transactionpublic SlowQueryListener getSlowQueryListener(java.lang.String appName)
getSlowQueryListener in interface SqlTraceServicepublic void afterHarvest(java.lang.String appName)
HarvestListenerafterHarvest in interface HarvestListenerpublic void beforeHarvest(java.lang.String appName,
StatsEngine statsEngine)
HarvestListenerbeforeHarvest in interface HarvestListener