| Package | Description |
|---|---|
| net.ttddyy.dsproxy.listener | |
| net.ttddyy.dsproxy.listener.lifecycle | |
| 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 |
JdbcLifecycleEventExecutionListener
Holder for
JdbcLifecycleEventListener and adapt it to MethodExecutionListener and QueryExecutionListener. |
| 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 |
Log4jQueryLoggingListener
Log executed query information using Apache Commons Logging log4j..
|
class |
Log4jSlowQueryListener
Log slow query using Apache Commons Logging log4j.
|
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 |
|---|---|
ProxyConfig.Builder |
ProxyConfig.Builder.queryListener(QueryExecutionListener queryListener) |
| 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 © 2025. All rights reserved.