- cache - 类 中的变量com.jolbox.bonecp.StatementCache
-
The cache of our statements.
- cache - 类 中的变量com.jolbox.bonecp.StatementHandle
-
Cache pertaining to this statement.
- cacheHits - 类 中的变量com.jolbox.bonecp.Statistics
-
No of cache hits.
- cacheKey - 类 中的变量com.jolbox.bonecp.StatementHandle
-
The key to use in the cache.
- cacheMiss - 类 中的变量com.jolbox.bonecp.Statistics
-
No of cache misses.
- cacheSize - 类 中的变量com.jolbox.bonecp.StatementCache
-
How many items to cache.
- calculateCacheKey(String, String[]) - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Calculates a cache key.
- calculateCacheKey(String, int[]) - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int) - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int) - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int, int) - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int, int) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Simply appends the given parameters and returns it to obtain a cache key
- calculateCacheKey(String, int, int) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Cache key calculation.
- calculateCacheKey(String, int) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Alternate version of autoGeneratedKeys.
- calculateCacheKey(String, int[]) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Calculate a cache key.
- calculateCacheKey(String, String[]) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Calculate a cache key.
- calculateCacheKeyInternal(String, int, int) - 类 中的方法com.jolbox.bonecp.StatementCache
-
Cache key calculation.
- callableStatementCache - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Prepared Statement Cache.
- CallableStatementHandle - com.jolbox.bonecp中的类
-
Wrapper around CallableStatement.
- CallableStatementHandle(CallableStatement, String, ConnectionHandle, String, IStatementCache) - 类 的构造器com.jolbox.bonecp.CallableStatementHandle
-
CallableStatement constructor
- CallableStatementProxy - com.jolbox.bonecp.proxy中的接口
-
Just a way to get our proxy to work with driver-specific types.
- cancel() - 类 中的方法com.jolbox.bonecp.StatementHandle
- cannotPrecede(boolean) - 类 中的方法jsr166y.LinkedTransferQueue.Node
-
Returns true if a node with the given mode cannot be
appended to this node because this node is unmatched and
has opposite data mode.
- captureStackTrace(String) - 类 中的方法com.jolbox.bonecp.BoneCP
-
Throw an exception to capture it so as to be able to print it out later on
- casHead(LinkedTransferQueue.Node, LinkedTransferQueue.Node) - 类 中的方法jsr166y.LinkedTransferQueue
-
- casItem(Object, Object) - 类 中的方法jsr166y.LinkedTransferQueue.Node
-
- casNext(LinkedTransferQueue.Node, LinkedTransferQueue.Node) - 类 中的方法jsr166y.LinkedTransferQueue.Node
-
- casSweepVotes(int, int) - 类 中的方法jsr166y.LinkedTransferQueue
-
- cast(Object) - 类 中的静态方法jsr166y.LinkedTransferQueue
-
- casTail(LinkedTransferQueue.Node, LinkedTransferQueue.Node) - 类 中的方法jsr166y.LinkedTransferQueue
-
- CHAINED_SPINS - 类 中的静态变量jsr166y.LinkedTransferQueue
-
The number of times to spin before blocking when a node is
preceded by another node that is apparently spinning.
- checkClosed() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
Checks if the connection is (logically) closed and throws an exception if it is.
- checkClosed() - 类 中的方法com.jolbox.bonecp.StatementHandle
-
Checks if the connection is marked as being logically open and throws an exception if not.
- checkForProperClosure() - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Checks that the entries in the cache have been properly closed when the connection dies down.
- checkForProperClosure() - 类 中的方法com.jolbox.bonecp.StatementCache
-
- classLoader - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Classloader to use when loading the JDBC driver.
- clear() - 接口 中的方法com.jolbox.bonecp.IStatementCache
-
Clears the cache
- clear() - 类 中的方法com.jolbox.bonecp.StatementCache
-
Clears the cache
- clearBatch() - 类 中的方法com.jolbox.bonecp.StatementHandle
- clearCache() - 类 中的方法com.jolbox.bonecp.StatementHandle
-
Clears out the cache of statements.
- clearLogConditions - 类 中的静态变量com.jolbox.bonecp.MemorizeTransactionProxy
-
List of methods that will trigger a reset of the transaction.
- clearParameters() - 类 中的方法com.jolbox.bonecp.PreparedStatementHandle
- clearStatementCaches(boolean) - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
Clears out the statement handles.
- clearWarnings() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- clearWarnings() - 类 中的方法com.jolbox.bonecp.StatementHandle
- clone() - 类 中的方法com.jolbox.bonecp.BoneCPConfig
-
- close() - 类 中的方法com.jolbox.bonecp.BoneCP
-
Just a synonym to shutdown.
- close() - 类 中的方法com.jolbox.bonecp.BoneCPDataSource
-
Close the datasource.
- close() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
Release the connection if called.
- close() - 类 中的方法com.jolbox.bonecp.StatementHandle
-
- closeConnection(ConnectionHandle) - 类 中的方法com.jolbox.bonecp.ConnectionMaxAgeThread
-
Closes off this connection
- closeConnection(ConnectionHandle) - 类 中的方法com.jolbox.bonecp.ConnectionTesterThread
-
Closes off this connection
- closeConnectionExecutor - 类 中的变量com.jolbox.bonecp.BoneCP
-
Threads monitoring for bad connection requests.
- closeConnectionWatch - 类 中的变量com.jolbox.bonecp.BoneCP
-
If set to true, create a new thread that monitors a connection and displays warnings if application failed to
close the connection.
- closeConnectionWatch - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
If set to true, create a new thread that monitors a connection and displays warnings if application failed to
close the connection.
- closeConnectionWatchTimeout - 类 中的变量com.jolbox.bonecp.CloseThreadMonitor
-
ms to wait for thread.join()
- closeConnectionWatchTimeoutInMs - 类 中的变量com.jolbox.bonecp.BoneCP
-
No of ms to wait for thread.join() in connection watch thread.
- closeConnectionWatchTimeoutInMs - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Time in ms to wait for close connection watch thread.
- CLOSED_TWICE_EXCEPTION_MESSAGE - 类 中的静态变量com.jolbox.bonecp.ConnectionHandle
-
Exception message.
- closeStatement(Statement, boolean) - 类 中的方法com.jolbox.bonecp.BoneCP
-
- closeStatement() - 类 中的方法com.jolbox.bonecp.StatementHandle
-
Closes off the statement
- CloseThreadMonitor - com.jolbox.bonecp中的类
-
Thread that monitors another thread and displays stack trace if getConnection() was called without the corresponding close().
- CloseThreadMonitor(Thread, ConnectionHandle, String, long) - 类 的构造器com.jolbox.bonecp.CloseThreadMonitor
-
- com.jolbox.bonecp - 程序包 com.jolbox.bonecp
-
The core package for the BoneCP connection pool.
- com.jolbox.bonecp.hooks - 程序包 com.jolbox.bonecp.hooks
-
Support for event notification on a connection state.
- com.jolbox.bonecp.proxy - 程序包 com.jolbox.bonecp.proxy
-
For internal use only.
- com.test - 程序包 com.test
-
- commit() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- config - 类 中的变量com.jolbox.bonecp.BoneCP
-
Configuration object used in constructor.
- CONFIG_DS_TOSTRING - 类 中的静态变量com.jolbox.bonecp.BoneCPConfig
-
For toString().
- CONFIG_TOSTRING - 类 中的静态变量com.jolbox.bonecp.BoneCPConfig
-
For toString().
- configFile - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Config property.
- connection - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Connection handle.
- connectionCreationTimeInMs - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Time when this connection was created.
- connectionHandle - 类 中的变量com.jolbox.bonecp.CloseThreadMonitor
-
Handle to the connection we are monitoring.
- ConnectionHandle - com.jolbox.bonecp中的类
-
Connection handle wrapper around a JDBC connection.
- ConnectionHandle(String, String, String, BoneCP) - 类 的构造器com.jolbox.bonecp.ConnectionHandle
-
Connection wrapper constructor
- ConnectionHandle(Connection, IStatementCache, IStatementCache, BoneCP) - 类 的构造器com.jolbox.bonecp.ConnectionHandle
-
Private constructor used solely for unit testing.
- connectionHandle - 类 中的变量com.jolbox.bonecp.MemorizeTransactionProxy
-
Connection handle.
- connectionHandle - 类 中的变量com.jolbox.bonecp.StatementHandle
-
Handle to the connection holding this statement.
- connectionHook - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Hook class (external).
- connectionHook - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Handle to the connection hook as defined in the config.
- ConnectionHook - com.jolbox.bonecp.hooks中的接口
-
Interface to the hooking mechanism of a connection lifecycle.
- connectionHook - 类 中的变量com.jolbox.bonecp.StatementHandle
-
Config setting.
- connectionHookClassName - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Connection hook class name.
- connectionLastResetInMs - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Last time we sent a reset to this connection.
- connectionLastUsedInMs - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
Last time this connection was used by an application.
- ConnectionMaxAgeThread - com.jolbox.bonecp中的类
-
Periodically checks for connections to see if the connection has expired.
- ConnectionMaxAgeThread(ConnectionPartition, ScheduledExecutorService, BoneCP, long, boolean) - 类 的构造器com.jolbox.bonecp.ConnectionMaxAgeThread
-
Constructor
- ConnectionPartition - com.jolbox.bonecp中的类
-
Connection Partition structure
- ConnectionPartition(BoneCP) - 类 的构造器com.jolbox.bonecp.ConnectionPartition
-
Partition constructor
- ConnectionProxy - com.jolbox.bonecp.proxy中的接口
-
Just a way to get our proxy to work with driver-specific types.
- ConnectionReleaseHelperThread - com.jolbox.bonecp中的类
-
A thread that monitors a queue containing connections to be released and moves those
connections to the partition queue.
- ConnectionReleaseHelperThread(BlockingQueue<ConnectionHandle>, BoneCP) - 类 的构造器com.jolbox.bonecp.ConnectionReleaseHelperThread
-
Helper Thread constructor.
- connectionsPendingRelease - 类 中的变量com.jolbox.bonecp.ConnectionPartition
-
Scratch queue of connections awaiting to be placed back in queue.
- connectionsRequested - 类 中的变量com.jolbox.bonecp.Statistics
-
Connections obtained.
- connectionsScheduler - 类 中的变量com.jolbox.bonecp.BoneCP
-
Executor for threads watching each partition to dynamically create new threads/kill off excess ones.
- ConnectionState - com.jolbox.bonecp.hooks中的枚举
-
An enum to indicate the state of a connection to be used as a signal via the onMarkPossiblyBroken
hook.
- ConnectionState() - 枚举 的构造器com.jolbox.bonecp.hooks.ConnectionState
-
- ConnectionTesterThread - com.jolbox.bonecp中的类
-
Periodically sends a keep-alive statement to idle threads
and kills off any connections that have been unused for a long time (or broken).
- ConnectionTesterThread(ConnectionPartition, ScheduledExecutorService, BoneCP, long, long, boolean) - 类 的构造器com.jolbox.bonecp.ConnectionTesterThread
-
Constructor
- connectionTestStatement - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
SQL statement to use for keep-alive/test of connection.
- connectionTimeoutInMs - 类 中的变量com.jolbox.bonecp.BoneCP
-
Time to wait before timing out the connection.
- connectionTimeoutInMs - 类 中的变量com.jolbox.bonecp.BoneCPConfig
-
Time to wait before a call to getConnection() times out and returns an error.
- connectionTrackingDisabled - 类 中的变量com.jolbox.bonecp.ConnectionHandle
-
If true, connection tracking is disabled in the config.
- countOfMode(boolean) - 类 中的方法jsr166y.LinkedTransferQueue
-
Traverses and counts unmatched nodes of the given mode.
- createArrayOf(String, Object[]) - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createBlob() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createClob() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createdConnections - 类 中的变量com.jolbox.bonecp.ConnectionPartition
-
Number of connections that have been created.
- createNClob() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createSQLXML() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createStatement() - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createStatement(int, int) - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createStatement(int, int, int) - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- createStruct(String, Object[]) - 类 中的方法com.jolbox.bonecp.ConnectionHandle
-
- cumulativeConnectionWaitTime - 类 中的变量com.jolbox.bonecp.Statistics
-
Time taken to give a connection to the application.
- cumulativeStatementExecuteTime - 类 中的变量com.jolbox.bonecp.Statistics
-
Time taken to execute statements.
- cumulativeStatementPrepareTime - 类 中的变量com.jolbox.bonecp.Statistics
-
Time taken to prepare statements (or obtain from cache).
- current() - 类 中的静态方法jsr166y.ThreadLocalRandom
-
Returns the current thread's ThreadLocalRandom
.
- CustomThreadFactory - com.jolbox.bonecp中的类
-
Helper class just for executor service to provide a fancier name for debugging + catch for thread exceptions.
- CustomThreadFactory(String, boolean) - 类 的构造器com.jolbox.bonecp.CustomThreadFactory
-
Default constructor.