org.databene.benerator.engine
Class BeneratorMonitor
java.lang.Object
org.databene.benerator.engine.BeneratorMonitor
- All Implemented Interfaces:
- BeneratorMonitorMBean
public class BeneratorMonitor
- extends java.lang.Object
- implements BeneratorMonitorMBean
MBean implementation for monitoring Benerator.
Created: 27.07.2010 21:15:28
- Since:
- 0.6.3
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BeneratorMonitor INSTANCE
countGenerations
public void countGenerations(int newGenerations)
getTotalGenerationCount
public long getTotalGenerationCount()
- Specified by:
getTotalGenerationCount
in interface BeneratorMonitorMBean
getCurrentThroughput
public long getCurrentThroughput()
- Specified by:
getCurrentThroughput
in interface BeneratorMonitorMBean
setTotalGenerationCount
public void setTotalGenerationCount(long totalGenerationCount)
getOpenConnectionCount
public int getOpenConnectionCount()
- Specified by:
getOpenConnectionCount
in interface BeneratorMonitorMBean
getOpenResultSetCount
public int getOpenResultSetCount()
- Specified by:
getOpenResultSetCount
in interface BeneratorMonitorMBean
getOpenStatementCount
public int getOpenStatementCount()
- Specified by:
getOpenStatementCount
in interface BeneratorMonitorMBean
getOpenPreparedStatementCount
public int getOpenPreparedStatementCount()
- Specified by:
getOpenPreparedStatementCount
in interface BeneratorMonitorMBean
reset
public void reset()
- Specified by:
reset
in interface BeneratorMonitorMBean
Copyright © 2013. All Rights Reserved.