Top Fields Constructors Methods
com.mchange.v2.c3p0.stmt

public final Class DoubleMaxStatementCache

extends GooGooStatementCache
Class Inheritance
Imports
java.sql.*, com.mchange.v2.async.AsynchronousRunner

Field Summary

Modifier and TypeField and Description
pack-priv GooGooStatementCache.DeathmarchConnectionStatementManager
pack-priv GooGooStatementCache.Deathmarch
pack-priv int
pack-priv int
Inherited from com.mchange.v2.c3p0.stmt.GooGooStatementCache:
blockingTaskAsyncRunnercheckedOutcxnStmtMgrdestructokeyToKeyRecremovalPendingstmtToKey

Constructor Summary

AccessConstructor and Description
public
DoubleMaxStatementCache(AsynchronousRunner blockingTaskAsyncRunner, AsynchronousRunner deferredStatementDestroyer, int max_statements, int max_statements_per_connection)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
protected GooGooStatementCache.ConnectionStatementManager
pack-priv boolean
pack-priv void
Inherited from com.mchange.v2.c3p0.stmt.GooGooStatementCache:
checkinAllcheckinStatementcheckoutStatementclosecloseAllcountCachedStatementsdumpStatementCacheStatusgetNumConnectionsWithCachedStatementsgetNumStatementsgetNumStatementsCheckedOutgetStatementDestroyerNumConnectionsInUsegetStatementDestroyerNumConnectionsWithDeferredDestroyStatementsgetStatementDestroyerNumDeferredDestroyStatementsinUseisClosedtryMarkConnectionInUseunmarkConnectionInUsewaitMarkConnectionInUse

Field Detail

dcsmback to summary
pack-priv GooGooStatementCache.DeathmarchConnectionStatementManager dcsm
globalDeathmarchback to summary
pack-priv GooGooStatementCache.Deathmarch globalDeathmarch
max_statementsback to summary
pack-priv int max_statements
max_statements_per_connectionback to summary
pack-priv int max_statements_per_connection

Constructor Detail

DoubleMaxStatementCacheback to summary
public DoubleMaxStatementCache(AsynchronousRunner blockingTaskAsyncRunner, AsynchronousRunner deferredStatementDestroyer, int max_statements, int max_statements_per_connection)

Method Detail

addStatementToDeathmarchesback to summary
pack-priv void addStatementToDeathmarches(Object pstmt, Connection physicalConnection)

Implements abstract com.mchange.v2.c3p0.stmt.GooGooStatementCache.addStatementToDeathmarches.

createConnectionStatementManagerback to summary
protected GooGooStatementCache.ConnectionStatementManager createConnectionStatementManager()

Implements abstract com.mchange.v2.c3p0.stmt.GooGooStatementCache.createConnectionStatementManager.

prepareAssimilateNewStatementback to summary
pack-priv boolean prepareAssimilateNewStatement(Connection pcon)

Implements abstract com.mchange.v2.c3p0.stmt.GooGooStatementCache.prepareAssimilateNewStatement.

removeStatementFromDeathmarchesback to summary
pack-priv void removeStatementFromDeathmarches(Object pstmt, Connection physicalConnection)

Implements abstract com.mchange.v2.c3p0.stmt.GooGooStatementCache.removeStatementFromDeathmarches.