test_class.declarator: mockPool = createNiceMock(BoneCP.class)
test_class.modifier: private
test_class.original_string: private BoneCP mockPool = createNiceMock(BoneCP.class);
test_class.type: BoneCP
test_class.var_name: mockPool
test_class.declarator: stats = new Statistics(this.mockPool)
test_class.modifier: private
test_class.original_string: private Statistics stats = new Statistics(this.mockPool);
test_class.type: Statistics
test_class.var_name: stats
test_class.file: bonecp/src/test/java/com/jolbox/bonecp/TestStatistics.java
test_class.identifier: TestStatistics
test_case.body: @Test
  	public void testStatsReset() throws IllegalArgumentException, IllegalAccessException{
  		
  		this.stats.resetStats();
  		// test that the values start off at zero initially
  		checkValuesSetToZero(this.stats);
  	}
test_case.class_method_signature: TestStatistics.testStatsReset()
test_case.full_signature: @Test public void testStatsReset()
test_case.identifier: testStatsReset
test_case.invocations: resetStats checkValuesSetToZero
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStatsReset()
focal_class.declarator: serialVersionUID = -5819368300823149669L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -5819368300823149669L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: cacheHits = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong cacheHits = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: cacheHits
focal_class.declarator: cacheMiss = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong cacheMiss = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: cacheMiss
focal_class.declarator: statementsCached = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong statementsCached = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: statementsCached
focal_class.declarator: connectionsRequested = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong connectionsRequested = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: connectionsRequested
focal_class.declarator: cumulativeConnectionWaitTime = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong cumulativeConnectionWaitTime = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: cumulativeConnectionWaitTime
focal_class.declarator: cumulativeStatementExecuteTime = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong cumulativeStatementExecuteTime = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: cumulativeStatementExecuteTime
focal_class.declarator: cumulativeStatementPrepareTime = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong cumulativeStatementPrepareTime = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: cumulativeStatementPrepareTime
focal_class.declarator: statementsExecuted = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong statementsExecuted = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: statementsExecuted
focal_class.declarator: statementsPrepared = new AtomicLong(0)
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong statementsPrepared = new AtomicLong(0);
focal_class.type: AtomicLong
focal_class.var_name: statementsPrepared
focal_class.declarator: pool
focal_class.modifier: private
focal_class.original_string: private BoneCP pool;
focal_class.type: BoneCP
focal_class.var_name: pool
focal_class.file: bonecp/src/main/java/com/jolbox/bonecp/Statistics.java
focal_class.identifier: Statistics
focal_class.interfaces: implements StatisticsMBean, Serializable
focal_class.class_method_signature: Statistics.Statistics(BoneCP pool)
focal_class.full_signature: public  Statistics(BoneCP pool)
focal_class.identifier: Statistics
focal_class.modifiers: public
focal_class.parameters: (BoneCP pool)
focal_class.signature:  Statistics(BoneCP pool)
focal_class.class_method_signature: Statistics.resetStats()
focal_class.full_signature: public void resetStats()
focal_class.identifier: resetStats
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetStats()
focal_class.class_method_signature: Statistics.getConnectionWaitTimeAvg()
focal_class.full_signature: public double getConnectionWaitTimeAvg()
focal_class.identifier: getConnectionWaitTimeAvg
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getConnectionWaitTimeAvg()
focal_class.class_method_signature: Statistics.getStatementExecuteTimeAvg()
focal_class.full_signature: public double getStatementExecuteTimeAvg()
focal_class.identifier: getStatementExecuteTimeAvg
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getStatementExecuteTimeAvg()
focal_class.class_method_signature: Statistics.getStatementPrepareTimeAvg()
focal_class.full_signature: public double getStatementPrepareTimeAvg()
focal_class.identifier: getStatementPrepareTimeAvg
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getStatementPrepareTimeAvg()
focal_class.class_method_signature: Statistics.getTotalLeased()
focal_class.full_signature: public int getTotalLeased()
focal_class.identifier: getTotalLeased
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTotalLeased()
focal_class.class_method_signature: Statistics.getTotalFree()
focal_class.full_signature: public int getTotalFree()
focal_class.identifier: getTotalFree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTotalFree()
focal_class.class_method_signature: Statistics.getTotalCreatedConnections()
focal_class.full_signature: public int getTotalCreatedConnections()
focal_class.identifier: getTotalCreatedConnections
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getTotalCreatedConnections()
focal_class.class_method_signature: Statistics.getCacheHits()
focal_class.full_signature: public long getCacheHits()
focal_class.identifier: getCacheHits
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCacheHits()
focal_class.class_method_signature: Statistics.getCacheMiss()
focal_class.full_signature: public long getCacheMiss()
focal_class.identifier: getCacheMiss
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCacheMiss()
focal_class.class_method_signature: Statistics.getStatementsCached()
focal_class.full_signature: public long getStatementsCached()
focal_class.identifier: getStatementsCached
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getStatementsCached()
focal_class.class_method_signature: Statistics.getConnectionsRequested()
focal_class.full_signature: public long getConnectionsRequested()
focal_class.identifier: getConnectionsRequested
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionsRequested()
focal_class.class_method_signature: Statistics.getCumulativeConnectionWaitTime()
focal_class.full_signature: public long getCumulativeConnectionWaitTime()
focal_class.identifier: getCumulativeConnectionWaitTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCumulativeConnectionWaitTime()
focal_class.class_method_signature: Statistics.addCumulativeConnectionWaitTime(long increment)
focal_class.full_signature: protected void addCumulativeConnectionWaitTime(long increment)
focal_class.identifier: addCumulativeConnectionWaitTime
focal_class.modifiers: protected
focal_class.parameters: (long increment)
focal_class.return: void
focal_class.signature: void addCumulativeConnectionWaitTime(long increment)
focal_class.class_method_signature: Statistics.incrementStatementsExecuted()
focal_class.full_signature: protected void incrementStatementsExecuted()
focal_class.identifier: incrementStatementsExecuted
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementStatementsExecuted()
focal_class.class_method_signature: Statistics.incrementStatementsPrepared()
focal_class.full_signature: protected void incrementStatementsPrepared()
focal_class.identifier: incrementStatementsPrepared
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementStatementsPrepared()
focal_class.class_method_signature: Statistics.incrementStatementsCached()
focal_class.full_signature: protected void incrementStatementsCached()
focal_class.identifier: incrementStatementsCached
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementStatementsCached()
focal_class.class_method_signature: Statistics.incrementCacheMiss()
focal_class.full_signature: protected void incrementCacheMiss()
focal_class.identifier: incrementCacheMiss
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementCacheMiss()
focal_class.class_method_signature: Statistics.incrementCacheHits()
focal_class.full_signature: protected void incrementCacheHits()
focal_class.identifier: incrementCacheHits
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementCacheHits()
focal_class.class_method_signature: Statistics.incrementConnectionsRequested()
focal_class.full_signature: protected void incrementConnectionsRequested()
focal_class.identifier: incrementConnectionsRequested
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementConnectionsRequested()
focal_class.class_method_signature: Statistics.getCacheHitRatio()
focal_class.full_signature: public double getCacheHitRatio()
focal_class.identifier: getCacheHitRatio
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getCacheHitRatio()
focal_class.class_method_signature: Statistics.getStatementsExecuted()
focal_class.full_signature: public long getStatementsExecuted()
focal_class.identifier: getStatementsExecuted
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getStatementsExecuted()
focal_class.class_method_signature: Statistics.getCumulativeStatementExecutionTime()
focal_class.full_signature: public long getCumulativeStatementExecutionTime()
focal_class.identifier: getCumulativeStatementExecutionTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCumulativeStatementExecutionTime()
focal_class.class_method_signature: Statistics.addStatementExecuteTime(long time)
focal_class.full_signature: protected void addStatementExecuteTime(long time)
focal_class.identifier: addStatementExecuteTime
focal_class.modifiers: protected
focal_class.parameters: (long time)
focal_class.return: void
focal_class.signature: void addStatementExecuteTime(long time)
focal_class.class_method_signature: Statistics.addStatementPrepareTime(long time)
focal_class.full_signature: protected void addStatementPrepareTime(long time)
focal_class.identifier: addStatementPrepareTime
focal_class.modifiers: protected
focal_class.parameters: (long time)
focal_class.return: void
focal_class.signature: void addStatementPrepareTime(long time)
focal_class.class_method_signature: Statistics.getCumulativeStatementPrepareTime()
focal_class.full_signature: public long getCumulativeStatementPrepareTime()
focal_class.identifier: getCumulativeStatementPrepareTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCumulativeStatementPrepareTime()
focal_class.class_method_signature: Statistics.getStatementsPrepared()
focal_class.full_signature: public long getStatementsPrepared()
focal_class.identifier: getStatementsPrepared
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getStatementsPrepared()
focal_method.body: public void resetStats(){
  		this.cacheHits.set(0);
  		this.cacheMiss.set(0);
  		this.statementsCached.set(0);
  		this.connectionsRequested.set(0);
  		this.cumulativeConnectionWaitTime.set(0);
  		this.cumulativeStatementExecuteTime.set(0);
  		this.cumulativeStatementPrepareTime.set(0);
  		this.statementsExecuted.set(0);
  		this.statementsPrepared.set(0);
  	}
focal_method.class_method_signature: Statistics.resetStats()
focal_method.full_signature: public void resetStats()
focal_method.identifier: resetStats
focal_method.invocations: set set set set set set set set set
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void resetStats()