|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.dbpool.info.StatisticsListenerMultiplexer
public class StatisticsListenerMultiplexer
Multiplexer for all listeners to stats
Constructor Summary | |
---|---|
StatisticsListenerMultiplexer()
|
Method Summary | |
---|---|
void |
addCollector(java.lang.String key,
IStatisticsListener ic)
|
void |
connectionAllocated()
|
void |
executeBatchExecuted(StatementProxy sp,
long executeDuration,
int[] rc)
|
void |
executeExecuted(StatementProxy sp,
long updateDuration,
java.lang.Boolean result)
Executed an "execute" command. |
void |
executePreparedUpdateExecuted(StatementProxy sp,
long updateDuration,
int rowcount)
|
void |
executeUpdateExecuted(StatementProxy sp,
long updateDuration,
int updatedrowcount)
An update statement has been executed. |
void |
finish()
|
void |
queryStatementExecuted(StatementProxy sp,
long executeDuration,
long fetchDuration,
int rowCount,
boolean prepared)
A query statement was executed. |
IStatisticsListener |
removeCollector(java.lang.String key)
|
void |
statementPrepared(StatementProxy sp,
long prepareDuration)
A statement was prepared or created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticsListenerMultiplexer()
Method Detail |
---|
public void addCollector(java.lang.String key, IStatisticsListener ic)
public IStatisticsListener removeCollector(java.lang.String key)
public void connectionAllocated()
connectionAllocated
in interface IStatisticsListener
public void statementPrepared(StatementProxy sp, long prepareDuration)
IStatisticsListener
statementPrepared
in interface IStatisticsListener
public void queryStatementExecuted(StatementProxy sp, long executeDuration, long fetchDuration, int rowCount, boolean prepared)
IStatisticsListener
queryStatementExecuted
in interface IStatisticsListener
public void executeUpdateExecuted(StatementProxy sp, long updateDuration, int updatedrowcount)
IStatisticsListener
executeUpdateExecuted
in interface IStatisticsListener
public void executeExecuted(StatementProxy sp, long updateDuration, java.lang.Boolean result)
IStatisticsListener
executeExecuted
in interface IStatisticsListener
public void executePreparedUpdateExecuted(StatementProxy sp, long updateDuration, int rowcount)
executePreparedUpdateExecuted
in interface IStatisticsListener
public void executeBatchExecuted(StatementProxy sp, long executeDuration, int[] rc)
executeBatchExecuted
in interface IStatisticsListener
public void finish()
finish
in interface IStatisticsListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |