public class SQLTraceStoreAdapter extends Object implements SQLTraceListener
SQLTraceListener abstraction that is registered with implementation class as key and a
managed instance of the SQLTraceStore.
Even though this class is very similar to SQLTraceLogger the classes cannot share code as each has to have
its own ThreadLocal. Would they inherit from the same base class the invocations from both classes would get
mixed up in the same ThreadLocal.| Constructor and Description |
|---|
SQLTraceStoreAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
sqlTrace(SQLTraceRecord record)
Notify listeners with SQL trace information.
|
public void sqlTrace(SQLTraceRecord record)
SQLTraceListenersqlTrace in interface SQLTraceListenerrecord - SQLTraceRecord that has information related
to the SQL operationCopyright © 2020. All rights reserved.