| Package | Description |
|---|---|
| net.ttddyy.dsproxy.listener | |
| net.ttddyy.dsproxy.listener.logging | |
| net.ttddyy.dsproxy.proxy | |
| net.ttddyy.dsproxy.support |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainListener
Execute chain of listeners.
|
class |
DataSourceQueryCountListener
Update database access information.
|
class |
NoOpQueryExecutionListener
No operation implementation of
QueryExecutionListener |
class |
SlowQueryListener
Slow query detection listener.
|
| Modifier and Type | Field and Description |
|---|---|
static QueryExecutionListener |
QueryExecutionListener.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
List<QueryExecutionListener> |
ChainListener.getListeners() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainListener.addListener(QueryExecutionListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainListener.setListeners(List<QueryExecutionListener> listeners) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractQueryLoggingListener |
class |
AbstractSlowQueryLoggingListener
Abstract class to log slow query.
|
class |
CommonsQueryLoggingListener
Record executed query information using Commons-Logging.
|
class |
CommonsSlowQueryListener
Log slow query using Commons-Logging.
|
class |
JULQueryLoggingListener
Log executed query information using JUL(Java Util Logging).
|
class |
JULSlowQueryListener
Log slow query using JUL(Java Util Logging).
|
class |
SLF4JQueryLoggingListener
Log executed query information using SLF4J.
|
class |
SLF4JSlowQueryListener
Log slow query using SLF4j.
|
class |
SystemOutQueryLoggingListener
Output query logging to System.out.
|
class |
SystemOutSlowQueryListener
Log slow query to System.out.
|
| Modifier and Type | Method and Description |
|---|---|
QueryExecutionListener |
InterceptorHolder.getListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
InterceptorHolder.addListener(QueryExecutionListener listener)
|
void |
InterceptorHolder.setListener(QueryExecutionListener listener) |
| Constructor and Description |
|---|
InterceptorHolder(QueryExecutionListener listener,
QueryTransformer queryTransformer) |
InterceptorHolder(QueryExecutionListener listener,
QueryTransformer queryTransformer,
ParameterTransformer parameterTransformer) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProxyDataSource.addListener(QueryExecutionListener listener) |
ProxyDataSourceBuilder |
ProxyDataSourceBuilder.listener(QueryExecutionListener listener)
Register given listener.
|
void |
ProxyDataSource.setListener(QueryExecutionListener listener)
Deprecated.
|
Copyright © 2017. All rights reserved.