- CallableStatementProxy - Class in com.zaxxer.hikari.proxy
-
This is the proxy class for java.sql.CallableStatement.
- cancel() - Method in class com.zaxxer.hikari.util.LeakTask
-
- catalog - Variable in class com.zaxxer.hikari.pool.BaseHikariPool
-
- checkException(SQLException) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
-
Check if the provided SQLException contains a SQLSTATE that indicates
a disconnection from the server.
- checkException(SQLException) - Method in interface com.zaxxer.hikari.proxy.IHikariConnectionProxy
-
Check if the provided SQLException contains a SQLSTATE that indicates
a disconnection from the server.
- ClassLoaderUtils - Class in com.zaxxer.hikari.util
-
Methods useful for class reflection and class loading.
- ClassLoaderUtils() - Constructor for class com.zaxxer.hikari.util.ClassLoaderUtils
-
- clear() - Method in class com.zaxxer.hikari.util.FastList
-
Clear the FastList.
- close() - Method in class com.zaxxer.hikari.HikariDataSource
-
close()
and shutdown()
are synonymous.
- close() - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
- close() - Method in class com.zaxxer.hikari.metrics.MetricsTracker
-
- close() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- close() - Method in class com.zaxxer.hikari.proxy.StatementProxy
- close() - Method in class com.zaxxer.hikari.util.ConcurrentBag
-
Close the bag to further adds.
- closeConnection(Connection) - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
-
- CodaHaleMetricsTracker - Class in com.zaxxer.hikari.metrics
-
- CodaHaleMetricsTracker(BaseHikariPool, MetricRegistry) - Constructor for class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
-
- CodaHaleMetricsTracker.Context - Class in com.zaxxer.hikari.metrics
-
- CodaHaleShim - Class in com.zaxxer.hikari.metrics
-
This class is used to validate that Codahale metrics is available in the class
path, or if not to generate a fake "shim" that avoids ClassNotFound exceptions
in code that depends on (but does not use if not present) Codahale metrics.
- com.zaxxer.hikari - package com.zaxxer.hikari
-
- com.zaxxer.hikari.hibernate - package com.zaxxer.hikari.hibernate
-
- com.zaxxer.hikari.metrics - package com.zaxxer.hikari.metrics
-
- com.zaxxer.hikari.pool - package com.zaxxer.hikari.pool
-
- com.zaxxer.hikari.proxy - package com.zaxxer.hikari.proxy
-
- com.zaxxer.hikari.util - package com.zaxxer.hikari.util
-
- commit() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- ConcurrentBag<T extends IConcurrentBagEntry> - Class in com.zaxxer.hikari.util
-
This is a specialized concurrent bag that achieves superior performance
to LinkedBlockingQueue and LinkedTransferQueue for the purposes of a
connection pool.
- ConcurrentBag(IBagStateListener) - Constructor for class com.zaxxer.hikari.util.ConcurrentBag
-
Construct a ConcurrentBag with the specified listener.
- CONFIG_PREFIX - Static variable in class com.zaxxer.hikari.hibernate.HikariConfigurationUtil
-
- CONFIG_PREFIX_DATASOURCE - Static variable in class com.zaxxer.hikari.hibernate.HikariConfigurationUtil
-
- configure(Map) - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
-
- connection - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
-
- ConnectionProxy - Class in com.zaxxer.hikari.proxy
-
This is the proxy class for java.sql.Connection.
- copyProperties(Properties) - Static method in class com.zaxxer.hikari.util.PropertyBeanSetter
-
- copyState(AbstractHikariConfig) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- createInstance(String, Class<T>, Object...) - Static method in class com.zaxxer.hikari.util.UtilityElf
-
Create and instance of the specified class using the constructor matching the specified
arguments.
- createStatement() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- createStatement(int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- createStatement(int, int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- createThreadPoolExecutor(int, String, ThreadFactory, RejectedExecutionHandler) - Static method in class com.zaxxer.hikari.util.UtilityElf
-
Create a ThreadPoolExecutor.
- customize(Connection) - Method in interface com.zaxxer.hikari.IConnectionCustomizer
-
The Connection object that is passed into this method is the "raw"
Connection instance provided by the JDBC driver, not a wrapped
HikariCP connection.
- get(int) - Method in class com.zaxxer.hikari.util.FastList
-
Get the element at the specified index.
- getActiveConnections() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
- getActiveConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getAllInterfaces(Class<?>) - Static method in class com.zaxxer.hikari.util.ClassLoaderUtils
-
- getAndSetNetworkTimeout(Connection, long) - Method in class com.zaxxer.hikari.pool.PoolUtilities
-
Set the network timeout, if isUseNetworkTimeout
is true
and the
driver supports it.
- getCatalog() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the default catalog name to be set on connections.
- getConfiguration() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
-
Get the pool configuration object.
- getConnection() - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
-
- getConnection() - Method in class com.zaxxer.hikari.HikariDataSource
- getConnection(String, String) - Method in class com.zaxxer.hikari.HikariDataSource
-
Deprecated.
- getConnection() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
-
Get a connection from the pool, or timeout trying.
- getConnection() - Method in class com.zaxxer.hikari.proxy.StatementProxy
- getConnection() - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- getConnection(String, String) - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- getConnectionAcquisitionTimer() - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
-
- getConnectionCustomizer() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- getConnectionCustomizerClassName() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- getConnectionDurationHistogram() - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
-
- getConnectionInitSql() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- getConnectionTestQuery() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the SQL query to be executed to test the validity of connections.
- getConnectionTimeout() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the maximum number of milliseconds that a client will wait for a connection from the pool.
- getConnectionTimeout() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
Get the maximum number of milliseconds that a client will wait for a connection from the pool.
- getCount(int) - Method in class com.zaxxer.hikari.util.ConcurrentBag
-
Get a count of the number of items in the specified state at the time of this call.
- getDataSource() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the
DataSource
that has been explicitly specified to be wrapped by the
pool.
- getDataSource() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
-
Get the wrapped DataSource.
- getDataSourceClassName() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- getDataSourceJNDI() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- getDataSourceProperties() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- getIdleConnections() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
- getIdleConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getIdleTimeout() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the maximum amount of time (in milliseconds) that a connection is allowed to sit
idle in the pool.
- getIdleTimeout() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the maximum amount of time (in milliseconds) that a connection is allowed to sit
idle in the pool.
- getJdbcUrl() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- getLeakDetectionThreshold() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the amount of time that a connection can be out of the pool before a message is
logged indicating a possible connection leak.
- getLeakDetectionThreshold() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the amount of time that a connection can be out of the pool before a message is
logged indicating a possible connection leak.
- getLoginTimeout() - Method in class com.zaxxer.hikari.HikariDataSource
- getLoginTimeout() - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- getLogWriter() - Method in class com.zaxxer.hikari.HikariDataSource
- getLogWriter() - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- getMaximumPoolSize() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
The property controls the maximum number of connections that HikariCP will keep in the pool,
including both idle and in-use connections.
- getMaximumPoolSize() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
The property controls the maximum number of connections that HikariCP will keep in the pool,
including both idle and in-use connections.
- getMaxLifetime() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the maximum lifetime of a connection in the pool.
- getMaxLifetime() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the maximum lifetime of a connection in the pool.
- getMetricRegistry() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the Codahale MetricRegistry, could be null.
- getMinimumIdle() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use
connections.
- getMinimumIdle() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use
connections.
- getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class com.zaxxer.hikari.HikariJNDIFactory
-
- getParentLogger() - Method in class com.zaxxer.hikari.HikariDataSource
- getParentLogger() - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- getPassword() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the default password to use for DataSource.getConnection(username, password) calls.
- getPendingQueue() - Method in class com.zaxxer.hikari.util.ConcurrentBag
-
Get the number of threads pending (waiting) for an item from the
bag to become available.
- getPoolBagEntry() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
-
Get the ConcurrentBag entry that is associated in the pool with the underlying connection.
- getPoolBagEntry() - Method in interface com.zaxxer.hikari.proxy.IHikariConnectionProxy
-
Get the ConcurrentBag entry that is associated in the pool with the underlying connection.
- getPoolName() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
The name of the connection pool.
- getPoolName() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
The name of the connection pool.
- getProperty(String, Object) - Static method in class com.zaxxer.hikari.util.PropertyBeanSetter
-
- getPropertyNames(Class<?>) - Static method in class com.zaxxer.hikari.util.PropertyBeanSetter
-
Get the bean-style property names for the specified object.
- getProxyConnection(HikariPool, PoolBagEntry, LeakTask) - Static method in class com.zaxxer.hikari.proxy.ProxyFactory
-
Create a proxy for the specified
Connection
instance.
- getResultSet() - Method in class com.zaxxer.hikari.proxy.StatementProxy
- getThreadFactory() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the thread factory used to create threads.
- getThreadsAwaitingConnection() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
- getThreadsAwaitingConnection() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getTotalConnections() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
- getTotalConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getTransactionIsolation() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- getTransactionIsolation(String) - Static method in class com.zaxxer.hikari.util.UtilityElf
-
Get the int value of a transaction isolation level by name.
- getUsername() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the default username used for DataSource.getConnection(username, password) calls.
- getValidationTimeout() - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Get the maximum number of milliseconds that the pool will wait for a connection to be validated as
alive.
- getValidationTimeout() - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
Get the maximum number of milliseconds that the pool will wait for a connection to be validated as
alive.
- GlobalPoolLock - Class in com.zaxxer.hikari.pool
-
This class implements a lock that can be used to suspend and resume the pool.
- setAllowPoolSuspension(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set whether or not pool suspension is allowed.
- setAutoCommit(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the default auto-commit behavior of connections in the pool.
- setAutoCommit(boolean) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setCatalog(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the default catalog name to be set on connections.
- setCatalog(String) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setConnectionCustomizer(IConnectionCustomizer) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- setConnectionCustomizerClassName(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- setConnectionInitSql(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- setConnectionLastOpen(PoolBagEntry, long) - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker.Context
-
Set the lastOpenTime on the provided bag entry.
- setConnectionLastOpen(PoolBagEntry, long) - Method in class com.zaxxer.hikari.metrics.MetricsTracker.MetricsContext
-
Set the lastOpenTime on the provided bag entry.
- setConnectionTestQuery(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the SQL query to be executed to test the validity of connections.
- setConnectionTimeout(long) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the maximum number of milliseconds that a client will wait for a connection from the pool.
- setConnectionTimeout(long) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
Set the maximum number of milliseconds that a client will wait for a connection from the pool.
- setDataSource(DataSource) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setDataSourceClassName(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setDataSourceJNDI(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setDataSourceProperties(Properties) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setDriverClassName(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setIdleTimeout(long) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the maximum amount of time (in milliseconds) that a connection is allowed to sit
idle in the pool.
- setIdleTimeout(long) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the maximum amount of time (in milliseconds) that a connection is allowed to sit
idle in the pool.
- setInitializationFailFast(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set whether or not the construction of the pool should throw an exception
if the minimum number of connections cannot be created.
- setIsolateInternalQueries(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setJdbc4ConnectionTest(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Deprecated.
- setJdbcUrl(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setLeakDetectionThreshold(long) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the amount of time that a connection can be out of the pool before a message is
logged indicating a possible connection leak.
- setLeakDetectionThreshold(long) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the amount of time that a connection can be out of the pool before a message is
logged indicating a possible connection leak.
- setLoginTimeout(int) - Method in class com.zaxxer.hikari.HikariDataSource
- setLoginTimeout(DataSource, long) - Method in class com.zaxxer.hikari.pool.PoolUtilities
-
Set the loginTimeout on the specified DataSource.
- setLoginTimeout(int) - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- setLogWriter(PrintWriter) - Method in class com.zaxxer.hikari.HikariDataSource
- setLogWriter(PrintWriter) - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- setMaximumPoolSize(int) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use
connections.
- setMaximumPoolSize(int) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use
connections.
- setMaxLifetime(long) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
This property controls the maximum lifetime of a connection in the pool.
- setMaxLifetime(long) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
This property controls the maximum lifetime of a connection in the pool.
- setMetricRegistry(Object) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set a Codahale MetricRegistry to use for HikariCP.
- setMinimumIdle(int) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool,
including both idle and in-use connections.
- setMinimumIdle(int) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool,
including both idle and in-use connections.
- setNetworkTimeout(Connection, long) - Method in class com.zaxxer.hikari.pool.PoolUtilities
-
Set the network timeout, if isUseNetworkTimeout
is true
and the
driver supports it.
- setPassword(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the default password to use for DataSource.getConnection(username, password) calls.
- setPoolName(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the name of the connection pool.
- setQueryTimeout(Statement, int) - Method in class com.zaxxer.hikari.pool.PoolUtilities
-
Set the query timeout, if it is supported by the driver.
- setReadOnly(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setReadOnly(boolean) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setRegisterMbeans(boolean) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
- setRemoveOnCancelPolicy(ScheduledThreadPoolExecutor) - Static method in class com.zaxxer.hikari.util.UtilityElf
-
If the scheduled executor supports it, set the removeonCancelPolicy.
- setTargetFromProperties(Object, Properties) - Static method in class com.zaxxer.hikari.util.PropertyBeanSetter
-
- setThreadFactory(ThreadFactory) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the thread factory to be used to create threads.
- setTransactionIsolation(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the default transaction isolation level.
- setTransactionIsolation(int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setupConnection(Connection, boolean, boolean, int, String) - Method in class com.zaxxer.hikari.pool.PoolUtilities
-
Setup a connection intial state.
- setUsername(String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Set the default username used for DataSource.getConnection(username, password) calls.
- setValidationTimeout(long) - Method in class com.zaxxer.hikari.AbstractHikariConfig
-
Sets the maximum number of milliseconds that the pool will wait for a connection to be validated as
alive.
- setValidationTimeout(long) - Method in interface com.zaxxer.hikari.HikariConfigMBean
-
Sets the maximum number of milliseconds that the pool will wait for a connection to be validated as
alive.
- shutdown() - Method in class com.zaxxer.hikari.HikariDataSource
-
Shutdown the DataSource and its associated pool.
- shutdown() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
-
Shutdown the pool, closing all idle connections and aborting or closing
active connections.
- shutdown() - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- size() - Method in class com.zaxxer.hikari.util.ConcurrentBag
-
Get the total number of items in the bag.
- size() - Method in class com.zaxxer.hikari.util.FastList
-
Get the current number of elements in the FastList.
- softEvictConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- start() - Method in class com.zaxxer.hikari.util.LeakTask
-
- state - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
-
- state() - Method in class com.zaxxer.hikari.pool.PoolBagEntry
- state() - Method in interface com.zaxxer.hikari.util.IConcurrentBagEntry
-
- STATE_IN_USE - Static variable in interface com.zaxxer.hikari.util.IConcurrentBagEntry
-
- STATE_NOT_IN_USE - Static variable in interface com.zaxxer.hikari.util.IConcurrentBagEntry
-
- STATE_REMOVED - Static variable in interface com.zaxxer.hikari.util.IConcurrentBagEntry
-
- STATE_RESERVED - Static variable in interface com.zaxxer.hikari.util.IConcurrentBagEntry
-
- StatementProxy - Class in com.zaxxer.hikari.proxy
-
This is the proxy class for java.sql.Statement.
- stop() - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
-
- stop() - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker.Context
- stop() - Method in class com.zaxxer.hikari.metrics.MetricsTracker.MetricsContext
-
- supportsAggressiveRelease() - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
-
- suspend() - Method in class com.zaxxer.hikari.pool.GlobalPoolLock
-
- SUSPEND_RESUME_LOCK - Static variable in class com.zaxxer.hikari.pool.GlobalPoolLock
-
- suspendPool() - Method in class com.zaxxer.hikari.HikariDataSource
-
Suspend allocation of connections from the pool.
- suspendPool() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
- suspendPool() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-