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

public final Class GlobalMaxOnlyStatementCache

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

Field Summary

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

Constructor Summary

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

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

globalDeathmarchback to summary
pack-priv GooGooStatementCache.Deathmarch globalDeathmarch
max_statementsback to summary
pack-priv int max_statements

Constructor Detail

GlobalMaxOnlyStatementCacheback to summary
public GlobalMaxOnlyStatementCache(AsynchronousRunner blockingTaskAsyncRunner, AsynchronousRunner deferredStatementDestroyer, int max_statements)

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.