- 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.HikariPool
-
- 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.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
-
- closeIdleConnections() - Method in class com.zaxxer.hikari.pool.HikariPool
- closeIdleConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- CodaHaleMetricsTracker - Class in com.zaxxer.hikari.metrics
-
- CodaHaleMetricsTracker(HikariPool, 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
-
- ConcurrentBag<T extends ConcurrentBag.BagEntry> - 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(ConcurrentBag.IBagStateListener) - Constructor for class com.zaxxer.hikari.util.ConcurrentBag
-
Construct a ConcurrentBag with the specified listener.
- ConcurrentBag.BagEntry - Class in com.zaxxer.hikari.util
-
- ConcurrentBag.IBagStateListener - Interface in com.zaxxer.hikari.util
-
This interface is implemented by a listener to the bag.
- 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
-
- createInstance(String, Class<T>, Object...) - Static method in class com.zaxxer.hikari.util.PoolUtilities
-
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.PoolUtilities
-
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.HikariPool
- getActiveConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getAllInterfaces(Class<?>) - Static method in class com.zaxxer.hikari.util.ClassLoaderUtils
-
- getCatalog() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the default catalog name to be set on connections.
- getConfiguration() - Method in class com.zaxxer.hikari.pool.HikariPool
-
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
- getConnection() - Method in class com.zaxxer.hikari.pool.HikariPool
-
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.HikariConfig
-
Get the customizer instance specified by the user.
- getConnectionCustomizerClassName() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the name of the connection customizer class to instantiate and execute
on all new connections.
- getConnectionDurationHistogram() - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
-
- getConnectionInitSql() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the SQL string that will be executed on all new connections when they are
created, before they are added to the pool.
- getConnectionTestQuery() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the SQL query to be executed to test the validity of connections.
- getConnectionTimeout() - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
Get the
DataSource
that has been explicitly specified to be wrapped by the
pool.
- getDataSource() - Method in class com.zaxxer.hikari.pool.HikariPool
-
Get the wrapped DataSource.
- getDataSourceClassName() - Method in class com.zaxxer.hikari.HikariConfig
-
- getDataSourceJNDI() - Method in class com.zaxxer.hikari.HikariConfig
-
- getDataSourceProperties() - Method in class com.zaxxer.hikari.HikariConfig
-
- getIdleConnections() - Method in class com.zaxxer.hikari.pool.HikariPool
- getIdleConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getIdleTimeout() - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
- getLeakDetectionThreshold() - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
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.HikariConfig
-
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.HikariConfig
-
Get the Codahale MetricRegistry, could be null.
- getMinimumIdle() - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
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.HikariConfig
-
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.
- getThreadFactory() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the thread factory used to create threads.
- getThreadsAwaitingConnection() - Method in class com.zaxxer.hikari.pool.HikariPool
- getThreadsAwaitingConnection() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getTotalConnections() - Method in class com.zaxxer.hikari.pool.HikariPool
- getTotalConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMBean
-
- getTransactionIsolation() - Method in class com.zaxxer.hikari.HikariConfig
-
- getTransactionIsolation(String) - Static method in class com.zaxxer.hikari.util.PoolUtilities
-
Get the int value of a transaction isolation level by name.
- getUsername() - Method in class com.zaxxer.hikari.HikariConfig
-
Get the default username used for DataSource.getConnection(username, password) calls.
- setAutoCommit(boolean) - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
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.HikariConfig
-
Set the connection customizer to be used by the pool.
- setConnectionCustomizerClassName(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the name of the connection customizer class to instantiate and execute
on all new connections.
- setConnectionInitSql(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the SQL string that will be executed on all new connections when they are
created, before they are added to the pool.
- 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.HikariConfig
-
Set the SQL query to be executed to test the validity of connections.
- setConnectionTimeout(long) - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
- setDataSourceClassName(String) - Method in class com.zaxxer.hikari.HikariConfig
-
- setDataSourceJNDI(String) - Method in class com.zaxxer.hikari.HikariConfig
-
- setDataSourceProperties(Properties) - Method in class com.zaxxer.hikari.HikariConfig
-
- setDriverClassName(String) - Method in class com.zaxxer.hikari.HikariConfig
-
- setIdleTimeout(long) - Method in class com.zaxxer.hikari.HikariConfig
-
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.HikariConfig
-
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.HikariConfig
-
- setJdbc4ConnectionTest(boolean) - Method in class com.zaxxer.hikari.HikariConfig
-
Deprecated.
- setJdbcUrl(String) - Method in class com.zaxxer.hikari.HikariConfig
-
- setLeakDetectionThreshold(long) - Method in class com.zaxxer.hikari.HikariConfig
-
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(int) - Method in class com.zaxxer.hikari.util.DriverDataSource
-
- setLoginTimeout(DataSource, long, Logger) - Static method in class com.zaxxer.hikari.util.PoolUtilities
-
Set the loginTimeout on the specified DataSource.
- 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.HikariConfig
-
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.HikariConfig
-
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(MetricRegistry) - Method in class com.zaxxer.hikari.HikariConfig
-
Set a Codahale MetricRegistry to use for HikariCP.
- setMinimumIdle(int) - Method in class com.zaxxer.hikari.HikariConfig
-
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(Executor, Connection, long, boolean) - Static method in class com.zaxxer.hikari.util.PoolUtilities
-
Set the network timeout, if isUseNetworkTimeout
is true
, and return the
pre-existing value of the network timeout.
- setPassword(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the default password to use for DataSource.getConnection(username, password) calls.
- setPoolName(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the name of the connection pool.
- setQueryTimeout(Statement, int) - Static method in class com.zaxxer.hikari.util.PoolUtilities
-
Set the query timeout, if it is supported by the driver.
- setReadOnly(boolean) - Method in class com.zaxxer.hikari.HikariConfig
-
- setReadOnly(boolean) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setRegisterMbeans(boolean) - Method in class com.zaxxer.hikari.HikariConfig
-
- setTargetFromProperties(Object, Properties) - Static method in class com.zaxxer.hikari.util.PropertyBeanSetter
-
- setThreadFactory(ThreadFactory) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the thread factory to be used to create threads.
- setTransactionIsolation(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the default transaction isolation level.
- setTransactionIsolation(int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
- setUsername(String) - Method in class com.zaxxer.hikari.HikariConfig
-
Set the default username used for DataSource.getConnection(username, password) calls.
- shutdown() - Method in class com.zaxxer.hikari.HikariDataSource
-
Shutdown the DataSource and its associated pool.
- shutdown() - Method in class com.zaxxer.hikari.pool.HikariPool
-
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.
- STATE_IN_USE - Static variable in class com.zaxxer.hikari.util.ConcurrentBag
-
- STATE_NOT_IN_USE - Static variable in class com.zaxxer.hikari.util.ConcurrentBag
-
- STATE_REMOVED - Static variable in class com.zaxxer.hikari.util.ConcurrentBag
-
- 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
-