com.xpn.xwiki.store
Class XWikiBatcherStats

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

public class XWikiBatcherStats
extends Object


Constructor Summary
XWikiBatcherStats()
           
 
Method Summary
 void addToSqlList(String sql)
           
 int getAbortBatchCounter()
           
 int getAddToBatchCounter()
           
 int getExecuteBatchCounter()
           
 int getPreparedSQLCounter()
           
 List getRecentSqlList()
           
 int getResultSetCounter()
           
 List getSqlList()
           
 void incrementAbortBatchCounter()
           
 void incrementAddToBatchCounter()
           
 void incrementExecuteBatchCounter()
           
 void incrementPreparedSQLCounter()
           
 void incrementResultSetCounter()
           
 void logSQLList()
           
 void printSQLList(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
 

Constructor Detail

XWikiBatcherStats

public XWikiBatcherStats()
Method Detail

resetStats

public void resetStats()

getSqlList

public List getSqlList()

getRecentSqlList

public List getRecentSqlList()

resetRecentSqlList

public void resetRecentSqlList()

addToSqlList

public void addToSqlList(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(PrintStream out)

logSQLList

public void logSQLList()