public class NopSlowQueryListener extends java.lang.Object implements SlowQueryListener
| Constructor and Description |
|---|
NopSlowQueryListener() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SlowQueryInfo> |
getSlowQueries()
Return a list of all captured slow queries.
|
<T> void |
noticeTracer(Tracer tracer,
com.newrelic.api.agent.SlowQueryDatastoreParameters<T> datastoreParameters)
Evaluates whether or not the provided tracer is above the slow query threshold.
|
public <T> void noticeTracer(Tracer tracer, com.newrelic.api.agent.SlowQueryDatastoreParameters<T> datastoreParameters)
SlowQueryListenernoticeTracer in interface SlowQueryListenertracer - the tracer to use when checking durations and storing query informationdatastoreParameters - contains the slow query parameters (if present) for recording slow queriespublic java.util.List<SlowQueryInfo> getSlowQueries()
SlowQueryListenergetSlowQueries in interface SlowQueryListener