com.xpn.xwiki.store
Class XWikiBatcherStats

java.lang.Object
  extended by com.xpn.xwiki.store.XWikiBatcherStats

public class XWikiBatcherStats
extends java.lang.Object

Created by IntelliJ IDEA. User: ludovic Date: 25 sept. 2005 Time: 11:40:10 To change this template use File | Settings | File Templates.


Field Summary
private  int abortBatchCounter
           
private  int addToBatchCounter
           
private  int executeBatchCounter
           
private static org.apache.commons.logging.Log log
           
private  int preparedSQLCounter
           
private  java.util.List recentSqlList
           
private  boolean resetOnNextSQL
           
private  int resultSetCounter
           
private  java.util.List sqlList
           
 
Constructor Summary
XWikiBatcherStats()
           
 
Method Summary
 void addToSqlList(java.lang.String sql)
           
 int getAbortBatchCounter()
           
 int getAddToBatchCounter()
           
 int getExecuteBatchCounter()
           
 int getPreparedSQLCounter()
           
 java.util.List getRecentSqlList()
           
 int getResultSetCounter()
           
 java.util.List getSqlList()
           
 void incrementAbortBatchCounter()
           
 void incrementAddToBatchCounter()
           
 void incrementExecuteBatchCounter()
           
 void incrementPreparedSQLCounter()
           
 void incrementResultSetCounter()
           
 void logSQLList()
           
 void printSQLList(java.io.PrintStream out)
           
 void resetOnNextSQL()
           
 void resetRecentSqlList()
           
 void resetStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

sqlList

private java.util.List sqlList

recentSqlList

private java.util.List recentSqlList

resetOnNextSQL

private boolean resetOnNextSQL

preparedSQLCounter

private int preparedSQLCounter

executeBatchCounter

private int executeBatchCounter

abortBatchCounter

private int abortBatchCounter

resultSetCounter

private int resultSetCounter

addToBatchCounter

private int addToBatchCounter
Constructor Detail

XWikiBatcherStats

public XWikiBatcherStats()
Method Detail

resetStats

public void resetStats()

getSqlList

public java.util.List getSqlList()

getRecentSqlList

public java.util.List getRecentSqlList()

resetRecentSqlList

public void resetRecentSqlList()

addToSqlList

public void addToSqlList(java.lang.String sql)

resetOnNextSQL

public void resetOnNextSQL()

getPreparedSQLCounter

public int getPreparedSQLCounter()

incrementPreparedSQLCounter

public void incrementPreparedSQLCounter()

getExecuteBatchCounter

public int getExecuteBatchCounter()

incrementExecuteBatchCounter

public void incrementExecuteBatchCounter()

getAbortBatchCounter

public int getAbortBatchCounter()

incrementAbortBatchCounter

public void incrementAbortBatchCounter()

getResultSetCounter

public int getResultSetCounter()

incrementResultSetCounter

public void incrementResultSetCounter()

getAddToBatchCounter

public int getAddToBatchCounter()

incrementAddToBatchCounter

public void incrementAddToBatchCounter()

printSQLList

public void printSQLList(java.io.PrintStream out)

logSQLList

public void logSQLList()


Copyright 2003 Ludovic Dubost