SQLLog.BatchLogger| Constructor and Description | 
|---|
| NoOpLog() | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLLog.BatchLogger | logBatch()Factory method used to obtain a SQLLog.BatchLogger which will be used to log
 a specific batch statement. | 
| void | logBeginTransaction(Handle h)Called when a transaction is started | 
| void | logCheckpointTransaction(Handle h,
                        String name)Called when a transaction is checkpointed | 
| void | logCommitTransaction(long time,
                    Handle h)Called when a transaction is committed | 
| void | logObtainHandle(long time,
               Handle h)Called when a handle is opened from a DBI instance | 
| void | logPreparedBatch(long time,
                String sql,
                int count)Called to log a prepared batch execution | 
| void | logReleaseCheckpointTransaction(Handle h,
                               String name)Called when a transaction checkpoint is released | 
| void | logReleaseHandle(Handle h)Called when a handle is closed | 
| void | logRollbackToCheckpoint(long time,
                       Handle h,
                       String checkpointName)Called when a transaction checkpoint is rolled back to | 
| void | logRollbackTransaction(long time,
                      Handle h)Called when a transaction is committed | 
| void | logSQL(long time,
      String sql)Called to log typical sql statements | 
public SQLLog.BatchLogger logBatch()
SQLLogpublic void logBeginTransaction(Handle h)
SQLLoglogBeginTransaction in interface SQLLogpublic void logCheckpointTransaction(Handle h, String name)
SQLLoglogCheckpointTransaction in interface SQLLogname - the checkpoint namepublic void logCommitTransaction(long time,
                                 Handle h)
SQLLoglogCommitTransaction in interface SQLLogpublic void logObtainHandle(long time,
                            Handle h)
SQLLoglogObtainHandle in interface SQLLogpublic void logPreparedBatch(long time,
                             String sql,
                             int count)
SQLLoglogPreparedBatch in interface SQLLogsql - The sql for the prepared batchcount - the number of elements in the prepared batchpublic void logReleaseCheckpointTransaction(Handle h, String name)
SQLLoglogReleaseCheckpointTransaction in interface SQLLogname - the checkpoint namepublic void logReleaseHandle(Handle h)
SQLLoglogReleaseHandle in interface SQLLogpublic void logRollbackToCheckpoint(long time,
                                    Handle h,
                                    String checkpointName)
SQLLoglogRollbackToCheckpoint in interface SQLLogpublic void logRollbackTransaction(long time,
                                   Handle h)
SQLLoglogRollbackTransaction in interface SQLLogCopyright © 2018. All rights reserved.