- cache - Variable in class com.jolbox.bonecp.StatementHandle
-
Cache pertaining to this statement.
- CachedConnectionStrategy - Class in com.jolbox.bonecp
-
A connection strategy that is optimized to store/retrieve the connection inside a thread
local variable.
- CachedConnectionStrategy(BoneCP, ConnectionStrategy) - Constructor for class com.jolbox.bonecp.CachedConnectionStrategy
-
- CachedConnectionStrategy.CachedConnectionStrategyThreadLocal<T> - Class in com.jolbox.bonecp
-
This is moved here to aid testing by exposing a dumbGet() method.
- CachedConnectionStrategy.CachedConnectionStrategyThreadLocal(CachedConnectionStrategy, ConnectionStrategy) - Constructor for class com.jolbox.bonecp.CachedConnectionStrategy.CachedConnectionStrategyThreadLocal
-
- cachedPoolStrategy - Variable in class com.jolbox.bonecp.BoneCP
-
Config setting.
- calculateCacheKey(String, String[]) - Method in interface com.jolbox.bonecp.IStatementCache
-
Calculates a cache key.
- calculateCacheKey(String, int[]) - Method in interface com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Returns a cache key.
- calculateCacheKey(String, int, int, int) - Method in class com.jolbox.bonecp.StatementCache
-
Simply appends the given parameters and returns it to obtain a cache key
- calculateCacheKey(String, int, int) - Method in class com.jolbox.bonecp.StatementCache
-
Cache key calculation.
- calculateCacheKey(String, int) - Method in class com.jolbox.bonecp.StatementCache
-
Alternate version of autoGeneratedKeys.
- calculateCacheKey(String, int[]) - Method in class com.jolbox.bonecp.StatementCache
-
Calculate a cache key.
- calculateCacheKey(String, String[]) - Method in class com.jolbox.bonecp.StatementCache
-
Calculate a cache key.
- CallableStatementHandle - Class in com.jolbox.bonecp
-
Wrapper around CallableStatement.
- CallableStatementHandle(CallableStatement, String, ConnectionHandle, String, IStatementCache) - Constructor for class com.jolbox.bonecp.CallableStatementHandle
-
CallableStatement constructor
- CallableStatementProxy - Interface in com.jolbox.bonecp.proxy
-
Just a way to get our proxy to work with driver-specific types.
- cancel() - Method in class com.jolbox.bonecp.StatementHandle
- captureStackTrace(String) - Method in class com.jolbox.bonecp.BoneCP
-
Throw an exception to capture it so as to be able to print it out later on
- checkClosed() - Method in class com.jolbox.bonecp.StatementHandle
-
Checks if the connection is marked as being logically open and throws an exception if not.
- checkForProperClosure() - Method in interface com.jolbox.bonecp.IStatementCache
-
Checks that the entries in the cache have been properly closed when the connection dies down.
- checkForProperClosure() - Method in class com.jolbox.bonecp.StatementCache
-
- cleanupConnection(ConnectionHandle, ConnectionHandle) - Method in class com.jolbox.bonecp.AbstractConnectionStrategy
-
- cleanupConnection(ConnectionHandle, ConnectionHandle) - Method in class com.jolbox.bonecp.CachedConnectionStrategy
-
- cleanupConnection(ConnectionHandle, ConnectionHandle) - Method in interface com.jolbox.bonecp.ConnectionStrategy
-
Give a chance to do some cleanups before closing off the connection.
- clear() - Method in interface com.jolbox.bonecp.IStatementCache
-
Clears the cache
- clear() - Method in class com.jolbox.bonecp.StatementCache
-
Clears the cache
- clearBatch() - Method in class com.jolbox.bonecp.StatementHandle
- clearCache() - Method in class com.jolbox.bonecp.StatementHandle
-
Clears out the cache of statements.
- clearParameters() - Method in class com.jolbox.bonecp.PreparedStatementHandle
- clearStatementCaches(boolean) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Clears out the statement handles.
- clearWarnings() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- clearWarnings() - Method in class com.jolbox.bonecp.StatementHandle
- clientInfo - Variable in class com.jolbox.bonecp.BoneCP
-
Config setting.
- clone() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- close() - Method in class com.jolbox.bonecp.BoneCP
-
Just a synonym to shutdown.
- close() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Close the datasource (i.e.
- close() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Release the connection back to the pool.
- close() - Method in class com.jolbox.bonecp.StatementHandle
-
- closeConnection(ConnectionHandle) - Method in class com.jolbox.bonecp.ConnectionMaxAgeThread
-
Closes off this connection
- closeConnection(ConnectionHandle) - Method in class com.jolbox.bonecp.ConnectionTesterThread
-
Closes off this connection
- closeConnectionWatch - Variable in class 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.
- closeOnCompletion() - Method in class com.jolbox.bonecp.StatementHandle
-
- closeOpenStatements - Variable in class com.jolbox.bonecp.ConnectionHandle
-
Config setting.
- CloseThreadMonitor - Class in 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) - Constructor for class com.jolbox.bonecp.CloseThreadMonitor
-
- com.jolbox.bonecp - package com.jolbox.bonecp
-
The core package for the BoneCP connection pool.
- com.jolbox.bonecp.hooks - package com.jolbox.bonecp.hooks
-
Support for event notification on a connection state.
- com.jolbox.bonecp.proxy - package com.jolbox.bonecp.proxy
-
For internal use only.
- commit() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- config - Variable in class com.jolbox.bonecp.BoneCP
-
Configuration object used in constructor.
- connection - Variable in class com.jolbox.bonecp.ConnectionHandle
-
Connection handle.
- connectionClass - Static variable in class com.jolbox.bonecp.BoneCP
-
This is moved here to aid testing.
- connectionCreationTimeInMs - Variable in class com.jolbox.bonecp.ConnectionHandle
-
Time when this connection was created.
- ConnectionHandle - Class in com.jolbox.bonecp
-
Connection handle wrapper around a JDBC connection.
- ConnectionHandle(Connection, ConnectionPartition, BoneCP, boolean) - Constructor for class com.jolbox.bonecp.ConnectionHandle
-
Internal constructor
- connectionHandle - Variable in class com.jolbox.bonecp.StatementHandle
-
Handle to the connection holding this statement.
- ConnectionHook - Interface in com.jolbox.bonecp.hooks
-
Interface to the hooking mechanism of a connection lifecycle.
- connectionHook - Variable in class com.jolbox.bonecp.StatementHandle
-
Config setting.
- ConnectionMaxAgeThread - Class in com.jolbox.bonecp
-
Periodically checks for connections to see if the connection has expired.
- ConnectionMaxAgeThread(ConnectionPartition, ScheduledExecutorService, BoneCP, long, boolean) - Constructor for class com.jolbox.bonecp.ConnectionMaxAgeThread
-
Constructor
- ConnectionPartition - Class in com.jolbox.bonecp
-
Connection Partition structure
- ConnectionPartition(BoneCP) - Constructor for class com.jolbox.bonecp.ConnectionPartition
-
Partition constructor
- ConnectionProxy - Interface in com.jolbox.bonecp.proxy
-
Just a way to get our proxy to work with driver-specific types.
- ConnectionState - Enum in com.jolbox.bonecp.hooks
-
An enum to indicate the state of a connection to be used as a signal via the onMarkPossiblyBroken
hook.
- connectionStrategy - Variable in class com.jolbox.bonecp.BoneCP
-
Currently active get connection strategy class to use.
- ConnectionStrategy - Interface in com.jolbox.bonecp
-
Marker interface.
- ConnectionTesterThread - Class in 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) - Constructor for class com.jolbox.bonecp.ConnectionTesterThread
-
Constructor
- connectionTimeoutInMs - Variable in class com.jolbox.bonecp.BoneCP
-
Time to wait before timing out the connection.
- connectionTrackingDisabled - Variable in class com.jolbox.bonecp.ConnectionHandle
-
If true, connection tracking is disabled in the config.
- createArrayOf(String, Object[]) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createBlob() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createClob() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createNClob() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createSQLXML() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createStatement() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createStatement(int, int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createStatement(int, int, int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createStruct(String, Object[]) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- createTestConnectionHandle(Connection, IStatementCache, IStatementCache, BoneCP) - Static method in class com.jolbox.bonecp.ConnectionHandle
-
Private -- used solely for unit testing.
- CustomThreadFactory - Class in com.jolbox.bonecp
-
Helper class just for executor service to provide a fancier name for debugging + catch for thread exceptions.
- CustomThreadFactory(String, boolean) - Constructor for class com.jolbox.bonecp.CustomThreadFactory
-
Default constructor.
- generateSQLException(String, Throwable) - Static method in class com.jolbox.bonecp.PoolUtil
-
- get() - Method in class com.jolbox.bonecp.CachedConnectionStrategy.CachedConnectionStrategyThreadLocal
-
- get(String) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String, int, int, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String, int, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String, int) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String, int[]) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String, String[]) - Method in interface com.jolbox.bonecp.IStatementCache
-
Retrieves the cached statement identified by the given key
- get(String) - Method in class com.jolbox.bonecp.StatementCache
-
Retrieves the cached statement identified by the given key
- get(String, int, int, int) - Method in class com.jolbox.bonecp.StatementCache
-
- get(String, int, int) - Method in class com.jolbox.bonecp.StatementCache
-
- get(String, int) - Method in class com.jolbox.bonecp.StatementCache
-
- get(String, int[]) - Method in class com.jolbox.bonecp.StatementCache
-
- get(String, String[]) - Method in class com.jolbox.bonecp.StatementCache
-
- getAcquireIncrement() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the acquireIncrement property.
- getAcquireIncrement() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the acquireIncrement property.
- getAcquireIncrement() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getAcquireRetryAttempts() - Method in class com.jolbox.bonecp.BoneCPConfig
-
After attempting to acquire a connection and failing, try to connect these many times before giving up.
- getAcquireRetryAttempts() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
After attempting to acquire a connection and failing, try to connect these many times before giving up.
- getAcquireRetryAttempts() - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Returns the acquireRetryAttemps.
- getAcquireRetryDelay() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getAcquireRetryDelay(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the acquireRetryDelay setting with the specified granularity.
- getAcquireRetryDelay() - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
- getAcquireRetryDelayInMs() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the number of ms to wait before attempting to obtain a connection again after a failure.
- getAcquireRetryDelayInMs() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the number of ms to wait before attempting to obtain a connection again after a failure.
- getAcquireRetryDelayInMs() - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Getter for acquireRetryDelay.
- getArgs() - Method in class com.jolbox.bonecp.ReplayLog
-
- getArray(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getArray(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getAsyncConnection() - Method in class com.jolbox.bonecp.BoneCP
-
Obtain a connection asynchronously by queueing a request to obtain a connection in a separate thread.
- getAutoCommit() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getAutoCommitStackTrace() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the autoCommitStackTrace field.
- getAvailableConnections() - Method in class com.jolbox.bonecp.ConnectionPartition
-
Returns the number of avail connections
- getBigDecimal(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBigDecimal(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBigDecimal(int, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
Deprecated.
- getBlob(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBlob(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBoolean(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBoolean(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getByte(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getByte(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBytes(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getBytes(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getCacheHitRatio() - Method in class com.jolbox.bonecp.Statistics
-
- getCacheHitRatio() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the cache hit ratio calculated as hits/(hits+misses).
- getCacheHits() - Method in class com.jolbox.bonecp.Statistics
-
- getCacheHits() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the cacheHits field.
- getCacheMiss() - Method in class com.jolbox.bonecp.Statistics
-
- getCacheMiss() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the cacheMiss field.
- getCatalog() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getCharacterStream(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getCharacterStream(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getClassLoader() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the currently active classloader.
- getClientInfo() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the clientInfo field.
- getClientInfo() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getClientInfo(String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getClob(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getClob(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getCloseConnectionWatchTimeout() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getCloseConnectionWatchTimeout(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the closeConnectionWatchTimeout with the specified granularity.
- getCloseConnectionWatchTimeoutInMs() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the no of ms to wait when close connection watch threads are enabled.
- getCloseConnectionWatchTimeoutInMs() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the no of ms to wait when close connection watch threads are enabled.
- getConfig() - Method in class com.jolbox.bonecp.BoneCP
-
Gets config object.
- getConfig() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Returns a configuration object built during initialization of the connection pool.
- getConfigFile() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the configFile field.
- getConfigFile() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the configFile field.
- getConnection() - Method in class com.jolbox.bonecp.AbstractConnectionStrategy
-
- getConnection() - Method in class com.jolbox.bonecp.BoneCP
-
Returns a free connection.
- getConnection() - Method in class com.jolbox.bonecp.BoneCPDataSource
- getConnection(String, String) - Method in class com.jolbox.bonecp.BoneCPDataSource
- getConnection() - Method in interface com.jolbox.bonecp.ConnectionStrategy
-
Obtains a connection using the configured strategy.
- getConnection() - Method in class com.jolbox.bonecp.StatementHandle
- getConnectionCreationTime() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getConnectionCreationTimeInMs() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the connectionCreationTime field.
- getConnectionHook() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the connection hook class.
- getConnectionHook() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the connection hook class.
- getConnectionHook() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the configured connection hook object.
- getConnectionHookClassName() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the connection hook class name as passed via the setter
- getConnectionHookClassName() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the connection hook class name as passed via the setter
- getConnectionInternal() - Method in class com.jolbox.bonecp.AbstractConnectionStrategy
-
Actual call that returns a connection
- getConnectionInternal() - Method in class com.jolbox.bonecp.CachedConnectionStrategy
-
- getConnectionInternal() - Method in class com.jolbox.bonecp.DefaultConnectionStrategy
-
- getConnectionLastReset() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getConnectionLastResetInMs() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getConnectionLastUsed() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getConnectionLastUsedInMs() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getConnectionsRequested() - Method in class com.jolbox.bonecp.Statistics
-
- getConnectionsRequested() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the connectionsRequested field.
- getConnectionTestStatement() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets connectionTestStatement
- getConnectionTestStatement() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets connectionTestStatement
- getConnectionTimeout() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getConnectionTimeout(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the connectionTimeout with the specified granularity.
- getConnectionTimeoutInMs() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the maximum time (in milliseconds) to wait before a call to getConnection is timed out.
- getConnectionTimeoutInMs() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the maximum time (in milliseconds) to wait before a call to getConnection is timed out.
- getConnectionWaitTimeAvg() - Method in class com.jolbox.bonecp.Statistics
-
- getConnectionWaitTimeAvg() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return the average time it takes for a getConnection request to be services (in ms).
- getCreatedConnections() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getCumulativeConnectionWaitTime() - Method in class com.jolbox.bonecp.Statistics
-
- getCumulativeConnectionWaitTime() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the total time that the application waited in order to obtain its connections (in ms).
- getCumulativeStatementExecutionTime() - Method in class com.jolbox.bonecp.Statistics
-
- getCumulativeStatementExecutionTime() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the time taken for the prepared statements to execute (in ms).
- getCumulativeStatementPrepareTime() - Method in class com.jolbox.bonecp.Statistics
-
- getCumulativeStatementPrepareTime() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the time taken to prepare statements (or obtain from cache) (in ms).
- getDatasourceBean() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the bean being used to return a connection.
- getDate(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDate(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDate(int, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDate(String, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDbIsDown() - Method in class com.jolbox.bonecp.BoneCP
-
Returns the dbIsDown field.
- getDebugHandle() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns a debug handle as previously set by an application
- getDebugHandle() - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Returns a reference to an opaque debug handle.
- getDebugHandle() - Method in class com.jolbox.bonecp.StatementHandle
-
Returns the debugHandle field.
- getDefaultAutoCommit() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the defaultAutoCommit field.
- getDefaultCatalog() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the defaultCatalog field.
- getDefaultReadOnly() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the defaultReadOnly field.
- getDefaultTransactionIsolation() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the defaultTransactionIsolation field.
- getDefaultTransactionIsolationValue() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the defaultTransactionIsolationValue field.
- getDouble(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDouble(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getDriverClass() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Gets driver class set in config.
- getDriverProperties() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the currently configured driver properties.
- getFetchDirection() - Method in class com.jolbox.bonecp.StatementHandle
- getFetchSize() - Method in class com.jolbox.bonecp.StatementHandle
- getFinalizableRefQueue() - Method in class com.jolbox.bonecp.BoneCP
-
Watch for connections that should have been safely closed but the application forgot.
- getFinalizableRefs() - Method in class com.jolbox.bonecp.BoneCP
-
Return the finalizable refs handle.
- getFloat(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getFloat(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getFreeConnections() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getGeneratedKeys() - Method in class com.jolbox.bonecp.StatementHandle
- getHoldability() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getIdleConnectionTestPeriod() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getIdleConnectionTestPeriod(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the idleConnectionTestPeriod with the specified granularity.
- getIdleConnectionTestPeriodInMinutes() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the currently set idleConnectionTestPeriodInMinutes.
- getIdleConnectionTestPeriodInMinutes() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the currently set idleConnectionTestPeriodInMinutes.
- getIdleMaxAge() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getIdleMaxAge(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the idleMaxAge with the specified granularity.
- getIdleMaxAgeInMinutes() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the idleMaxAge currently set.
- getIdleMaxAgeInMinutes() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets idleMaxAge (time in min).
- getInitSQL() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the initSQL parameter.
- getInitSQL() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the initSQL parameter.
- getInt(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getInt(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getInternalCallableStatement() - Method in class com.jolbox.bonecp.CallableStatementHandle
-
Returns the callable statement that this wrapper wraps.
- getInternalConnection() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the internal connection as obtained via the JDBC driver.
- getInternalPreparedStatement() - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
Returns the wrapped internal statement.
- getInternalStatement() - Method in class com.jolbox.bonecp.StatementHandle
-
Returns the statement being wrapped around by this wrapper.
- getJdbcUrl() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the configured JDBC URL
- getJdbcUrl() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the configured JDBC URL
- getLoginTimeout() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
- getLogMessage() - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Returns a message that shows the origin of the problem.
- getLogWriter() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Retrieves the log writer for this DataSource object.
- getLong(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getLong(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getMaxConnectionAge() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getMaxConnectionAge(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the maxConnectionAge with the specified granularity.
- getMaxConnectionAgeInSeconds() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the maxConnectionAge field in seconds
- getMaxConnectionAgeInSeconds() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the maxConnectionAge field.
- getMaxConnections() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getMaxConnectionsPerPartition() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the maximum number of connections that will be contained in every partition.
- getMaxConnectionsPerPartition() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the maximum number of connections that will be contained in every partition.
- getMaxFieldSize() - Method in class com.jolbox.bonecp.StatementHandle
- getMaxRows() - Method in class com.jolbox.bonecp.StatementHandle
- getMetaData() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getMetaData() - Method in class com.jolbox.bonecp.PreparedStatementHandle
- getMethod() - Method in class com.jolbox.bonecp.ReplayLog
-
- getMinConnections() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getMinConnectionsPerPartition() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the minimum number of connections that will be contained in every partition.
- getMinConnectionsPerPartition() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the minimum number of connections that will be contained in every partition.
- getMoreResults() - Method in class com.jolbox.bonecp.StatementHandle
- getMoreResults(int) - Method in class com.jolbox.bonecp.StatementHandle
- getNCharacterStream(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getNCharacterStream(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getNClob(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getNClob(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getNetworkTimeout() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getNString(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getNString(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getObject(int, Class<T>) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getObject(String, Class<T>) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getObject(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getObject(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getObject(int, Map<String, Class<?>>) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getObject(String, Map<String, Class<?>>) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class com.jolbox.bonecp.BoneCPDataSource
-
- getOpenStackTrace() - Method in class com.jolbox.bonecp.StatementHandle
-
Returns the stack trace where this statement was first opened.
- getOriginatingPartition() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Gets the partition this came from.
- getParameterMetaData() - Method in class com.jolbox.bonecp.PreparedStatementHandle
- getParentLogger() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
- getPartitionCount() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets the number of currently defined partitions.
- getPartitionCount() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets the number of currently defined partitions.
- getPassword() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets password to use for connections
- getPassword() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getPassword() - Method in class com.jolbox.bonecp.UsernamePassword
-
Returns the password field.
- getPool() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Returns a handle to the pool.
- getPool() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns a handle to the global pool from where this connection was obtained.
- getPoolAvailabilityThreshold() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the pool watch connection threshold value.
- getPoolAvailabilityThreshold() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the pool watch connection threshold value.
- getPoolName() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the name of the pool for JMX and thread names.
- getPoolName() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the name of the pool for JMX and thread names.
- getPoolStrategy() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the poolStrategy field.
- getPoolWatchThreadSignalQueue() - Method in class com.jolbox.bonecp.ConnectionPartition
-
Returns a handle to the poolWatchThreadSignalQueue
- getPreparedStatementCacheSize() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getPreparedStatementsCacheSize() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getProxyTarget() - Method in class com.jolbox.bonecp.ConnectionHandle
-
This method will be intercepted by the proxy if it is enabled to return the internal target.
- getQueryExecuteTimeLimit() - Method in class com.jolbox.bonecp.BoneCPConfig
-
- getQueryExecuteTimeLimit(TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the queryExecuteTimeLimit setting with the specified granularity.
- getQueryExecuteTimeLimitInMs() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Return the query execute time limit.
- getQueryExecuteTimeLimitInMs() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Return the query execute time limit in ms.
- getQueryExecuteTimeLimitinNanoSeconds() - Method in class com.jolbox.bonecp.ConnectionPartition
-
Store the unit translation here to avoid recalculating it in the constructor of StatementHandle.
- getQueryTimeout() - Method in class com.jolbox.bonecp.StatementHandle
- getRawConnection() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Deprecated.
- getRef(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getRef(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getReleaseHelperThreads() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getReleaseHelperThreads() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets number of release-connection helper threads to create per partition.
- getRemainingCapacity() - Method in class com.jolbox.bonecp.ConnectionPartition
-
Returns no of free slots.
- getReplaceTarget() - Method in class com.jolbox.bonecp.proxy.TransactionRecoveryResult
-
Getter for map.
- getReplayLog() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns transaction history log
- getResult() - Method in class com.jolbox.bonecp.proxy.TransactionRecoveryResult
-
Getter for result.
- getResultSet() - Method in class com.jolbox.bonecp.StatementHandle
- getResultSetConcurrency() - Method in class com.jolbox.bonecp.StatementHandle
- getResultSetHoldability() - Method in class com.jolbox.bonecp.StatementHandle
- getResultSetType() - Method in class com.jolbox.bonecp.StatementHandle
- getRowId(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getRowId(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getSchema() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getServiceOrder() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the serviceOrder field.
- getServiceOrder() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the serviceOrder field.
- getShort(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getShort(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getSQLXML(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getSQLXML(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- getStatementCacheSize() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getStatementExecuteTimeAvg() - Method in class com.jolbox.bonecp.Statistics
-
- getStatementExecuteTimeAvg() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return the average execution time for prepared statements to execute (in ms).
- getStatementPrepareTimeAvg() - Method in class com.jolbox.bonecp.Statistics
-
- getStatementPrepareTimeAvg() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return the statement prepare time average (in ms).
- getStatementReleaseHelperThreads() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getStatementReleaseHelperThreads() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the statementHelperThreads field.
- getStatementsCached() - Method in class com.jolbox.bonecp.Statistics
-
- getStatementsCached() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the number of statements that have been cached.
- getStatementsCachedPerConnection() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- getStatementsCachedPerConnection() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets no of statements cached per connection.
- getStatementsCacheSize() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets statementsCacheSize setting.
- getStatementsCacheSize() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets statementsCacheSize setting.
- getStatementsExecuted() - Method in class com.jolbox.bonecp.Statistics
-
- getStatementsExecuted() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the number of statements that have been executed.
- getStatementsPrepared() - Method in class com.jolbox.bonecp.Statistics
-
- getStatementsPrepared() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Returns the number of statements prepared.
- getStatistics() - Method in class com.jolbox.bonecp.BoneCP
-
Returns a reference to the statistics class.
- getString(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getString(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTarget() - Method in class com.jolbox.bonecp.ReplayLog
-
- getThreadUsingConnection() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the thread that is currently utilizing this connection.
- getThreadWatch() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the thread watching over this connection.
- getTime(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTime(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTime(int, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTime(String, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTimestamp(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTimestamp(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTimestamp(int, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTimestamp(String, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getTotalCreatedConnections() - Method in class com.jolbox.bonecp.BoneCP
-
Return total number of connections created in all partitions.
- getTotalCreatedConnections() - Method in class com.jolbox.bonecp.Statistics
-
- getTotalCreatedConnections() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return total number of connections created in all partitions.
- getTotalFree() - Method in class com.jolbox.bonecp.BoneCP
-
Return the number of free connections available to an application right away (excluding connections that can be
created dynamically)
- getTotalFree() - Method in class com.jolbox.bonecp.Statistics
-
- getTotalFree() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return the number of free connections available to an application right away (excluding connections that can be
created dynamically)
- getTotalLeased() - Method in class com.jolbox.bonecp.BoneCP
-
Return total number of connections currently in use by an application
- getTotalLeased() - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Returns the total leased connections.
- getTotalLeased() - Method in class com.jolbox.bonecp.Statistics
-
- getTotalLeased() - Method in interface com.jolbox.bonecp.StatisticsMBean
-
Return total number of connections currently in use by an application
- getTransactionIsolation() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getTypeMap() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getUpdateCount() - Method in class com.jolbox.bonecp.StatementHandle
- getURL(int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getURL(String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- getUrl() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns the url field.
- getUrl() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getUser() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Just delegates to getUsername for clients hardcoded to "getUser".
- getUsername() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Gets username to use for the connections.
- getUsername() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Gets username to use for the connections.
- getUsername() - Method in class com.jolbox.bonecp.ConnectionPartition
-
- getUsername() - Method in class com.jolbox.bonecp.UsernamePassword
-
Returns the username field.
- getWarnings() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- getWarnings() - Method in class com.jolbox.bonecp.StatementHandle
- inCache - Variable in class com.jolbox.bonecp.StatementHandle
-
If true, this statement is in the cache.
- incrementCacheHits() - Method in class com.jolbox.bonecp.Statistics
-
Accessor method.
- incrementCacheMiss() - Method in class com.jolbox.bonecp.Statistics
-
Accessor method.
- incrementConnectionsRequested() - Method in class com.jolbox.bonecp.Statistics
-
Accessor method.
- incrementStatementsCached() - Method in class com.jolbox.bonecp.Statistics
-
Accessor method.
- incrementStatementsExecuted() - Method in class com.jolbox.bonecp.Statistics
-
Adds statements executed.
- incrementStatementsPrepared() - Method in class com.jolbox.bonecp.Statistics
-
Adds statements executed.
- initialValue() - Method in class com.jolbox.bonecp.CachedConnectionStrategy.CachedConnectionStrategyThreadLocal
-
- internalClose() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Close off the connection.
- internalReleaseConnection(ConnectionHandle) - Method in class com.jolbox.bonecp.BoneCP
-
Release a connection by placing the connection back in the pool.
- internalStatement - Variable in class com.jolbox.bonecp.StatementHandle
-
A handle to the actual statement.
- invoke(Object, Method, Object[]) - Method in class com.jolbox.bonecp.MemorizeTransactionProxy
-
- isCloseConnectionWatch() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns if BoneCP is configured to create a helper thread to watch over connection acquires that are never released (or released
twice).
- isClosed() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns true if this connection has been (logically) closed.
- isClosed() - Method in class com.jolbox.bonecp.StatementHandle
-
Returns true if statement is logically closed
- isCloseOnCompletion() - Method in class com.jolbox.bonecp.StatementHandle
-
- isCloseOpenStatements() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the closeOpenStatements field.
- isConnectionAlive() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sends a test query to the underlying connection and return true if connection is alive.
- isConnectionHandleAlive(ConnectionHandle) - Method in class com.jolbox.bonecp.BoneCP
-
Sends a dummy statement to the server to keep the connection alive
- isDeregisterDriverOnClose() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the deregisterDriverOnClose setting.
- isDetectUnclosedStatements() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the detectUnclosedStatements field.
- isDetectUnresolvedTransactions() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the detectUnresolvedTransactions field.
- isDisableConnectionTracking() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns true if connection tracking has been disabled.
- isDisableConnectionTracking() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns true if connection tracking has been disabled.
- isDisableJMX() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Return true if JMX is disabled.
- isDisableJMX() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Return true if JMX is disabled.
- isExpired() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns true if the given connection has exceeded the maxConnectionAge.
- isExpired(long) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns true if the given connection has exceeded the maxConnectionAge.
- isExternalAuth() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the current externalAuth setting.
- isInReplayMode() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- isLazyInit() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns true if connection pool is to be initialized lazily.
- isLazyInit() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns true if connection pool is to be initialized lazily.
- isLogStatementsEnabled() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns true if SQL logging is currently enabled, false otherwise.
- isLogStatementsEnabled() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns true if SQL logging is currently enabled, false otherwise.
- isLogStatementsEnabled() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Returns true if logging of statements is enabled
- isNullOnConnectionTimeout() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the nullOnConnectionTimeout field.
- isPoolable() - Method in class com.jolbox.bonecp.StatementHandle
-
- isPossiblyBroken() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Gets true if connection has triggered an exception at some point.
- isReadOnly() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- isResetConnectionOnClose() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the resetConnectionOnClose setting.
- isStatisticsEnabled() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns the statisticsEnabled field.
- isStatisticsEnabled() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns the statisticsEnabled field.
- IStatementCache - Interface in com.jolbox.bonecp
-
Interface to the JDBC statement cache.
- isTransactionRecoveryEnabled() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Returns true if the pool is configured to record all transaction activity and replay the transaction automatically in case
of connection failures.
- isTransactionRecoveryEnabled() - Method in interface com.jolbox.bonecp.BoneCPConfigMBean
-
Returns true if the pool is configured to record all transaction activity and replay the transaction automatically in case
of connection failures.
- isTxResolved() - Method in class com.jolbox.bonecp.ConnectionHandle
-
If true, autocommit is set to true or else commit/rollback has been called.
- isUnableToCreateMoreTransactions() - Method in class com.jolbox.bonecp.ConnectionPartition
-
Returns true if we have created all the connections we can
- isValid(int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- isWrapperFor(Class<?>) - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
- isWrapperFor(Class<?>) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- isWrapperFor(Class<?>) - Method in class com.jolbox.bonecp.StatementHandle
-
- safePrint(Object...) - Static method in class com.jolbox.bonecp.PoolUtil
-
Helper method
- sanitize() - Method in class com.jolbox.bonecp.BoneCPConfig
-
Performs validation on the config object.
- sendInitSQL() - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sends any configured SQL init statement.
- sendInitSQL(Connection, String) - Static method in class com.jolbox.bonecp.ConnectionHandle
-
Sends out the SQL as defined in the config upon first init of the connection.
- setAcquireIncrement(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the acquireIncrement property.
- setAcquireRetryAttempts(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
After attempting to acquire a connection and failing, try to connect these many times before giving up.
- setAcquireRetryAttempts(AtomicInteger) - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Sets the new acquireRetyAttemps.
- setAcquireRetryDelay(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setAcquireRetryDelay(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the number of ms to wait before attempting to obtain a connection again after a failure.
- setAcquireRetryDelay(long) - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
- setAcquireRetryDelayInMs(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the number of ms to wait before attempting to obtain a connection again after a failure.
- setAcquireRetryDelayInMs(long) - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Sets the new acquireRetryDelay.
- setArgs(Object[]) - Method in class com.jolbox.bonecp.ReplayLog
-
- setArray(int, Array) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setAsciiStream(String, InputStream) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setAsciiStream(String, InputStream, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setAsciiStream(String, InputStream, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setAsciiStream(int, InputStream, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setAsciiStream(int, InputStream) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setAsciiStream(int, InputStream, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setAutoCommit(boolean) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setAutoCommitStackTrace(String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets the autoCommitStackTrace.
- setBigDecimal(String, BigDecimal) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setBigDecimal(int, BigDecimal) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setBinaryStream(String, InputStream) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setBinaryStream(String, InputStream, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setBinaryStream(String, InputStream, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setBinaryStream(int, InputStream) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setBinaryStream(int, InputStream, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setBinaryStream(int, InputStream, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setBlob(String, Blob) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setBlob(String, InputStream) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setBlob(String, InputStream, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setBlob(int, InputStream) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setBlob(int, InputStream, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setBlob(int, Blob) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setBoolean(String, boolean) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setBoolean(int, boolean) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setByte(String, byte) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setByte(int, byte) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setBytes(String, byte[]) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setBytes(int, byte[]) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setCatalog(String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setCharacterStream(String, Reader) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setCharacterStream(String, Reader, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setCharacterStream(String, Reader, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setCharacterStream(int, Reader, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setCharacterStream(int, Reader) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setCharacterStream(int, Reader, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setClassLoader(ClassLoader) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the classloader to use to load JDBC driver and hooks (set to null to use default).
- setClientInfo(Properties) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set, pool will call this for every new connection that's created.
- setClientInfo(Properties) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setClientInfo(String, String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setClob(String, Clob) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setClob(String, Reader) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setClob(String, Reader, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setClob(int, Reader) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setClob(int, Reader, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setClob(int, Clob) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setCloseConnectionWatch(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Instruct the pool to create a helper thread to watch over connection acquires that are never released (or released twice).
- setCloseConnectionWatchTimeout(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setCloseConnectionWatchTimeout(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the time to wait when close connection watch threads are enabled.
- setCloseConnectionWatchTimeoutInMs(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the no of ms to wait when close connection watch threads are enabled.
- setCloseOpenStatements(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If true, track statements and close them if application forgot to do so.
- setConfigFile(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the configFile.
- setConnectionHook(ConnectionHook) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the connection hook.
- setConnectionHookClassName(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the connection hook class name.
- setConnectionLastResetInMs(long) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setConnectionLastUsedInMs(long) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setConnectionTestStatement(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the connection test statement.
- setConnectionTimeout(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setConnectionTimeout(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the maximum time to wait before a call to getConnection is timed out.
- setConnectionTimeoutInMs(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the maximum time (in milliseconds) to wait before a call to getConnection is timed out.
- setCursorName(String) - Method in class com.jolbox.bonecp.StatementHandle
-
- setDatasourceBean(DataSource) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set, use datasourceBean.getConnection() to obtain a new connection instead of Driver.getConnection().
- setDate(String, Date) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setDate(String, Date, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setDate(int, Date) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setDate(int, Date, Calendar) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setDebugHandle(Object) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets a debugHandle, an object that is not used by the connection pool at all but may be set by an application to track
this particular connection handle for any purpose it deems fit.
- setDebugHandle(Object) - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Sets a reference to an opaque debug reference.
- setDebugHandle(Object) - Method in class com.jolbox.bonecp.StatementHandle
-
Sets a debugHandle, an object that is not used by the connection pool at all but may be set by an application to track
this particular connection handle for any purpose it deems fit.
- setDefaultAutoCommit(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the defaultAutoCommit setting for newly created connections.
- setDefaultCatalog(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the defaultCatalog setting for newly created connections.
- setDefaultReadOnly(Boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the defaultReadOnly setting for newly created connections.
- setDefaultTransactionIsolation(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the defaultTransactionIsolation.
- setDefaultTransactionIsolationValue(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the defaultTransactionIsolationValue.
- setDeregisterDriverOnClose(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set to true, try to unregister the JDBC driver when pool is shutdown.
- setDetectUnclosedStatements(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the detectUnclosedStatements.
- setDetectUnresolvedTransactions(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If true, and resetConnectionOnClose is also true, the pool will print out a stack
trace of the location where you had a connection that specified setAutoCommit(false)
but then forgot to call commit/rollback before closing it off.
- setDisableConnectionTracking(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set to true, the pool will not monitor connections for proper closure.
- setDisableJMX(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Set to true to disable JMX.
- setDouble(String, double) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setDouble(int, double) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setDriverClass(String) - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Sets driver to use (called via reflection).
- setDriverProperties(Properties) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets properties that will be passed on to the driver.
- setEscapeProcessing(boolean) - Method in class com.jolbox.bonecp.StatementHandle
- setExternalAuth(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set to true, no attempts at passing in a username/password will be attempted
when trying to obtain a raw (driver) connection.
- setFetchDirection(int) - Method in class com.jolbox.bonecp.StatementHandle
- setFetchSize(int) - Method in class com.jolbox.bonecp.StatementHandle
- setFloat(String, float) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setFloat(int, float) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setFreeConnections(BlockingQueue<ConnectionHandle>) - Method in class com.jolbox.bonecp.ConnectionPartition
-
- setHoldability(int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setIdleConnectionTestPeriod(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setIdleConnectionTestPeriod(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Wrapper method for idleConnectionTestPeriod for easier programmatic access.
- setIdleConnectionTestPeriodInMinutes(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the idleConnectionTestPeriod.
- setIdleConnectionTestPeriodInSeconds(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the idleConnectionTestPeriod.
- setIdleMaxAge(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setIdleMaxAge(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets Idle max age.
- setIdleMaxAgeInMinutes(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets Idle max age (in min).
- setIdleMaxAgeInSeconds(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets Idle max age (in seconds).
- setInitSQL(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Specifies an initial SQL statement that is run only when a connection is first created.
- setInReplayMode(boolean) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setInt(String, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setInt(int, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setInternalCallableStatement(CallableStatement) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
Sets the callable statement used by this wrapper.
- setInternalConnection(Connection) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets the internal connection to use.
- setInternalPreparedStatement(PreparedStatement) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
Sets the internal statement that this wrapper wraps.
- setInternalStatement(Statement) - Method in class com.jolbox.bonecp.StatementHandle
-
Sets the internal statement used by this wrapper.
- setJdbcUrl(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the JDBC connection URL.
- setLazyInit(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Set to true to force the connection pool to obtain the initial connections lazily.
- setLogicallyOpen() - Method in class com.jolbox.bonecp.StatementHandle
-
Marks this statement as being "open"
- setLoginTimeout(int) - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Sets the maximum time in seconds that this data source will wait while
attempting to connect to a database.
- setLogMessage(String) - Method in class com.jolbox.bonecp.hooks.AcquireFailConfig
-
Sets a log message.
- setLogStatementsEnabled(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If enabled, log SQL statements being executed.
- setLogStatementsEnabled(boolean) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Enable or disable logging of this connection.
- setLogWriter(PrintWriter) - Method in class com.jolbox.bonecp.BoneCPDataSource
-
Sets the log writer for this DataSource object to the given java.io.PrintWriter object.
- setLong(String, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setLong(int, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setMaxConnectionAge(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setMaxConnectionAge(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the maxConnectionAge.
- setMaxConnectionAgeInSeconds(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the maxConnectionAge in seconds.
- setMaxConnectionsPerPartition(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the maximum number of connections that will be contained in every partition.
- setMaxFieldSize(int) - Method in class com.jolbox.bonecp.StatementHandle
- setMaxRows(int) - Method in class com.jolbox.bonecp.StatementHandle
- setMethod(Method) - Method in class com.jolbox.bonecp.ReplayLog
-
- setMinConnectionsPerPartition(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the minimum number of connections that will be contained in every partition.
- setNCharacterStream(String, Reader) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNCharacterStream(String, Reader, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNCharacterStream(int, Reader) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNCharacterStream(int, Reader, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNClob(String, NClob) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNClob(String, Reader) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNClob(String, Reader, long) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNClob(int, NClob) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNClob(int, Reader) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNClob(int, Reader, long) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNetworkTimeout(Executor, int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setNString(String, String) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setNString(int, String) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setNull(String, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setNull(String, int, String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setNull(int, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setNull(int, int, String) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setNullOnConnectionTimeout(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the nullOnConnectionTimeout.
- setObject(String, Object) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setObject(String, Object, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setObject(String, Object, int, int) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setObject(int, Object) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setObject(int, Object, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setObject(int, Object, int, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setOpenStackTrace(String) - Method in class com.jolbox.bonecp.StatementHandle
-
Sets the stack trace where this statement was first opened.
- setOriginatingPartition(ConnectionPartition) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets Originating partition
- setPartitionCount(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets number of partitions to use.
- setPassword(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets password to use for connections.
- setPoolable(boolean) - Method in class com.jolbox.bonecp.StatementHandle
-
- setPoolAvailabilityThreshold(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the Pool Watch thread threshold.
- setPoolName(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the name of the pool for JMX and thread names.
- setPoolStrategy(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the poolStrategy.
- setPreparedStatementsCacheSize(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- setProperties(Properties) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the properties by reading off entries in the given parameter (where each key is equivalent to the field name)
- setQueryExecuteTimeLimit(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
- setQueryExecuteTimeLimit(long, TimeUnit) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Queries taking longer than this limit to execute are logged.
- setQueryExecuteTimeLimitInMs(long) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Queries taking longer than this limit to execute are logged.
- setQueryTimeout(int) - Method in class com.jolbox.bonecp.StatementHandle
- setReadOnly(boolean) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setRef(int, Ref) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setReleaseHelperThreads(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- setReplayLog(List<ReplayLog>) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets the transaction history log
- setResetConnectionOnClose(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If true, issue a reset (rollback) on connection close in case client forgot it.
- setResult(Object) - Method in class com.jolbox.bonecp.proxy.TransactionRecoveryResult
-
Setter for result.
- setRowId(String, RowId) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setRowId(int, RowId) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setSavepoint() - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setSavepoint(String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setSchema(String) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setServiceOrder(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets the queue serviceOrder.
- setShort(String, short) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setShort(int, short) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setSQLXML(String, SQLXML) - Method in class com.jolbox.bonecp.CallableStatementHandle
-
- setSQLXML(int, SQLXML) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
- setStatementCacheSize(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- setStatementReleaseHelperThreads(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- setStatementsCachedPerConnection(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Deprecated.
- setStatementsCacheSize(int) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets statementsCacheSize setting.
- setStatisticsEnabled(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
If set to true, keep track of some more statistics for exposure via JMX.
- setString(String, String) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setString(int, String) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setTarget(Object) - Method in class com.jolbox.bonecp.ReplayLog
-
- setThreadWatch(Thread) - Method in class com.jolbox.bonecp.ConnectionHandle
-
Sets the thread watching over this connection.
- setTime(String, Time) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setTime(String, Time, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setTime(int, Time) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setTime(int, Time, Calendar) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setTimestamp(String, Timestamp) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setTimestamp(String, Timestamp, Calendar) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setTimestamp(int, Timestamp) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setTimestamp(int, Timestamp, Calendar) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setTransactionIsolation(int) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setTransactionRecoveryEnabled(boolean) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Set to true to enable recording of all transaction activity and replay the transaction automatically in case
of a connection failure.
- setTypeMap(Map<String, Class<?>>) - Method in class com.jolbox.bonecp.ConnectionHandle
-
- setUnableToCreateMoreTransactions(boolean) - Method in class com.jolbox.bonecp.ConnectionPartition
-
Sets connection creation possible status
- setUnicodeStream(int, InputStream, int) - Method in class com.jolbox.bonecp.PreparedStatementHandle
-
Deprecated.
- setURL(String, URL) - Method in class com.jolbox.bonecp.CallableStatementHandle
- setURL(int, URL) - Method in class com.jolbox.bonecp.PreparedStatementHandle
- setUser(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets username to use for connections.
- setUsername(String) - Method in class com.jolbox.bonecp.BoneCPConfig
-
Sets username to use for connections.
- shutdown() - Method in class com.jolbox.bonecp.BoneCP
-
Closes off this connection pool.
- shutdownStackTrace - Variable in class com.jolbox.bonecp.BoneCP
-
Placeholder to give more useful info in case of a double shutdown.
- size() - Method in interface com.jolbox.bonecp.IStatementCache
-
Returns size of the cache.
- size() - Method in class com.jolbox.bonecp.StatementCache
-
Returns size of the cache.
- sql - Variable in class com.jolbox.bonecp.StatementHandle
-
SQL Statement used for this statement.
- sqlExceptionClass - Static variable in class com.jolbox.bonecp.PoolUtil
-
- StatementCache - Class in com.jolbox.bonecp
-
JDBC statement cache.
- StatementCache(int, boolean, Statistics) - Constructor for class com.jolbox.bonecp.StatementCache
-
Creates a statement cache of given size.
- statementCachingEnabled - Variable in class com.jolbox.bonecp.ConnectionHandle
-
Set to true if we have statement caching enabled.
- StatementHandle - Class in com.jolbox.bonecp
-
Wrapper around JDBC Statement.
- StatementHandle(Statement, String, IStatementCache, ConnectionHandle, String, boolean) - Constructor for class com.jolbox.bonecp.StatementHandle
-
Constructor to statement handle wrapper.
- StatementHandle(Statement, ConnectionHandle, boolean) - Constructor for class com.jolbox.bonecp.StatementHandle
-
Constructor for empty statement (created via connection.createStatement)
- StatementProxy - Interface in com.jolbox.bonecp.proxy
-
Just a way to get our proxy to work with driver-specific types.
- statistics - Variable in class com.jolbox.bonecp.BoneCP
-
statistics handle.
- Statistics - Class in com.jolbox.bonecp
-
Statistics class.
- Statistics(BoneCP) - Constructor for class com.jolbox.bonecp.Statistics
-
BoneCP handle.
- statisticsEnabled - Variable in class com.jolbox.bonecp.BoneCP
-
if true, we care about statistics.
- StatisticsMBean - Interface in com.jolbox.bonecp
-
MBean (JMX) contract.
- statsLock - Variable in class com.jolbox.bonecp.ConnectionPartition
-
Statistics lock.
- stealExistingAllocations() - Method in class com.jolbox.bonecp.CachedConnectionStrategy
-
Tries to close off all the unused assigned connections back to the pool.
- stringifyException(Throwable) - Static method in class com.jolbox.bonecp.PoolUtil
-
For backwards compatibility with JDK1.5 (SQLException doesn't accept the original exception).