Skip navigation links
A B C D E F G H I J L M N P Q R S T U V 

A

aborted - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
 
AbstractHikariConfig - Class in com.zaxxer.hikari
 
AbstractHikariConfig() - Constructor for class com.zaxxer.hikari.AbstractHikariConfig
Default constructor
AbstractHikariConfig(Properties) - Constructor for class com.zaxxer.hikari.AbstractHikariConfig
Construct a HikariConfig from the specified properties object.
AbstractHikariConfig(String) - Constructor for class com.zaxxer.hikari.AbstractHikariConfig
Construct a HikariConfig from the specified property file name.
add(T) - Method in class com.zaxxer.hikari.util.ConcurrentBag
Add a new object to the bag for others to borrow.
add(T) - Method in class com.zaxxer.hikari.util.FastList
Add an element to the tail of the FastList.
addBagItem() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
addBagItem() - Method in interface com.zaxxer.hikari.util.IBagStateListener
 
addDataSourceProperty(String, Object) - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
addHealthCheckProperty(String, String) - Method in class com.zaxxer.hikari.AbstractHikariConfig
 

B

BaseHikariPool - Class in com.zaxxer.hikari.pool
This is the primary connection pool class that provides the basic pooling behavior for HikariCP.
BaseHikariPool(HikariConfig) - Constructor for class com.zaxxer.hikari.pool.BaseHikariPool
Construct a HikariPool with the specified configuration.
BaseHikariPool(HikariConfig, String, String) - Constructor for class com.zaxxer.hikari.pool.BaseHikariPool
Construct a HikariPool with the specified configuration.
borrow(long, TimeUnit) - Method in class com.zaxxer.hikari.util.ConcurrentBag
The method will borrow a BagEntry from the bag, blocking for the specified timeout if none are available.

C

CallableStatementProxy - Class in com.zaxxer.hikari.proxy
This is the proxy class for java.sql.CallableStatement.
cancel() - Method in class com.zaxxer.hikari.pool.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
 
CodahaleHealthChecker - Class in com.zaxxer.hikari.metrics
Provides Dropwizard HealthChecks.
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
 
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.

D

DefaultThreadFactory - Class in com.zaxxer.hikari.util
 
DefaultThreadFactory(String, boolean) - Constructor for class com.zaxxer.hikari.util.DefaultThreadFactory
 
deleteRow() - Method in class com.zaxxer.hikari.proxy.ResultSetProxy
DriverDataSource - Class in com.zaxxer.hikari.util
 
DriverDataSource(String, String, Properties, String, String) - Constructor for class com.zaxxer.hikari.util.DriverDataSource
 
dumpState() - Method in class com.zaxxer.hikari.util.ConcurrentBag
 

E

elapsedTimeMs(long) - Static method in class com.zaxxer.hikari.util.UtilityElf
Get the elapsed time in millisecond between the specified start time and now.
evictConnection(Connection) - Method in class com.zaxxer.hikari.HikariDataSource
Evict a connection from the pool.
evictConnection(IHikariConnectionProxy) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
Evict a connection from the pool.
evicted - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
 
execute() - Method in class com.zaxxer.hikari.proxy.PreparedStatementProxy
execute(String) - Method in class com.zaxxer.hikari.proxy.StatementProxy
execute(String, int) - Method in class com.zaxxer.hikari.proxy.StatementProxy
execute(String, int[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy
execute(String, String[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeBatch() - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeLargeBatch() - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeLargeUpdate() - Method in class com.zaxxer.hikari.proxy.PreparedStatementProxy
executeLargeUpdate(String) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeLargeUpdate(String, int) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeLargeUpdate(String, int[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeLargeUpdate(String, String[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeQuery() - Method in class com.zaxxer.hikari.proxy.PreparedStatementProxy
executeQuery(String) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeSql(Connection, String, boolean) - Method in class com.zaxxer.hikari.pool.PoolUtilities
Execute the user-specified init SQL.
executeUpdate() - Method in class com.zaxxer.hikari.proxy.PreparedStatementProxy
executeUpdate(String) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeUpdate(String, int) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeUpdate(String, int[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy
executeUpdate(String, String[]) - Method in class com.zaxxer.hikari.proxy.StatementProxy

F

FastList<T> - Class in com.zaxxer.hikari.util
Fast list without range checking.
FastList(Class<?>) - Constructor for class com.zaxxer.hikari.util.FastList
Construct a FastList with a default size of 32.
FastList(Class<?>, int) - Constructor for class com.zaxxer.hikari.util.FastList
Construct a FastList with a specfied size.

G

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.HikariPoolMXBean
 
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 after connectionTimeout milliseconds.
getConnection(long) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
Get a connection from the pool, or timeout after the specified number of milliseconds.
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
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.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.HikariConfigMXBean
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
 
getDriverClassName() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
getHealthCheckProperties() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
getHealthCheckRegistry() - Method in class com.zaxxer.hikari.AbstractHikariConfig
Get the Codahale HealthCheckRegistry, could be null.
getIdleConnections() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
getIdleConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMXBean
 
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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, boolean) - 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.HikariPoolMXBean
 
getTotalConnections() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
getTotalConnections() - Method in interface com.zaxxer.hikari.pool.HikariPoolMXBean
 
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.HikariConfigMXBean
Get the maximum number of milliseconds that the pool will wait for a connection to be validated as alive.

H

HikariConfigMXBean - Interface in com.zaxxer.hikari
The javax.management MBean for a Hikiri pool configuration.
HikariConfigurationUtil - Class in com.zaxxer.hikari.hibernate
Utility class to map Hibernate properties to HikariCP configuration properties.
HikariConfigurationUtil() - Constructor for class com.zaxxer.hikari.hibernate.HikariConfigurationUtil
 
HikariConnectionProvider - Class in com.zaxxer.hikari.hibernate
Connection provider for Hibernate 4.3.
HikariConnectionProvider() - Constructor for class com.zaxxer.hikari.hibernate.HikariConnectionProvider
c-tor
HikariDataSource - Class in com.zaxxer.hikari
The HikariCP pooled DataSource.
HikariDataSource() - Constructor for class com.zaxxer.hikari.HikariDataSource
Default constructor.
HikariDataSource(HikariConfig) - Constructor for class com.zaxxer.hikari.HikariDataSource
Construct a HikariDataSource with the specified configuration.
HikariJNDIFactory - Class in com.zaxxer.hikari
A JNDI factory that produces HikariDataSource instances.
HikariJNDIFactory() - Constructor for class com.zaxxer.hikari.HikariJNDIFactory
 
HikariMBeanElf - Class in com.zaxxer.hikari.pool
Helper class to register our MBeans.
HikariPoolMXBean - Interface in com.zaxxer.hikari.pool
The javax.management MBean for a Hikiri pool instance.

I

IBagStateListener - Interface in com.zaxxer.hikari.util
This interface is implemented by a listener to the ConcurrentBag.
IConcurrentBagEntry - Interface in com.zaxxer.hikari.util
 
IConnectionCustomizer - Interface in com.zaxxer.hikari
Interface whose implementers can perform one-time customization of a Connection before it is added to the pool.
IHikariConnectionProxy - Interface in com.zaxxer.hikari.proxy
The interface used by the Connection proxy and through which all interaction by other classes flow.
initializeDataSource(String, DataSource, Properties, String, String, String, String) - Method in class com.zaxxer.hikari.pool.PoolUtilities
Create/initialize the underlying DataSource.
insertRow() - Method in class com.zaxxer.hikari.proxy.ResultSetProxy
IS_JAVA7 - Static variable in class com.zaxxer.hikari.util.UtilityElf
 
isAllowPoolSuspension() - Method in class com.zaxxer.hikari.AbstractHikariConfig
Get the pool suspension behavior (allowed or disallowed).
isAutoCommit() - Method in class com.zaxxer.hikari.AbstractHikariConfig
Get the default auto-commit behavior of connections in the pool.
isAutoCommit - Variable in class com.zaxxer.hikari.pool.BaseHikariPool
 
isClosed() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
isInitializationFailFast() - Method in class com.zaxxer.hikari.AbstractHikariConfig
Get whether or not the construction of the pool should throw an exception if the minimum number of connections cannot be created.
isIsolateInternalQueries() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
isJdbc4ConnectionTest() - Method in class com.zaxxer.hikari.AbstractHikariConfig
Deprecated.
isJdbc4ValidationSupported(Connection) - Method in class com.zaxxer.hikari.pool.PoolUtilities
Return true if the driver appears to be JDBC 4.0 compliant.
isReadOnly() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
isReadOnly - Variable in class com.zaxxer.hikari.pool.BaseHikariPool
 
isRegisterMbeans() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
isUnwrappableAs(Class) - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
 
isWrapperFor(Class<?>) - Method in class com.zaxxer.hikari.HikariDataSource
isWrapperFor(Class<?>) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
isWrapperFor(Class<?>) - Method in class com.zaxxer.hikari.util.DriverDataSource
 

J

JavassistProxyFactory - Class in com.zaxxer.hikari.util
This class generates the proxy objects for Connection, Statement, PreparedStatement, and CallableStatement.
JavassistProxyFactory() - Constructor for class com.zaxxer.hikari.util.JavassistProxyFactory
 

L

lastAccess - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
 
lastOpenTime - Variable in class com.zaxxer.hikari.pool.PoolBagEntry
 
LeakTask - Class in com.zaxxer.hikari.pool
A Runnable that is scheduled in the future to report leaks.
LeakTask(long, ScheduledExecutorService) - Constructor for class com.zaxxer.hikari.pool.LeakTask
 
loadConfiguration(Map) - Static method in class com.zaxxer.hikari.hibernate.HikariConfigurationUtil
Create/load a HikariConfig from Hibernate properties.
logPoolState(String...) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
 

M

main(String...) - Static method in class com.zaxxer.hikari.util.JavassistProxyFactory
 
markCommitStateDirty() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
Sets the commit state of the connection to dirty.
markCommitStateDirty() - Method in interface com.zaxxer.hikari.proxy.IHikariConnectionProxy
Sets the commit state of the connection to dirty.
MetricsContext() - Constructor for class com.zaxxer.hikari.metrics.MetricsTracker.MetricsContext
 
MetricsTracker - Class in com.zaxxer.hikari.metrics
This class only supports realtime, not historical metrics.
MetricsTracker(BaseHikariPool) - Constructor for class com.zaxxer.hikari.metrics.MetricsTracker
 
MetricsTracker.MetricsContext - Class in com.zaxxer.hikari.metrics
A base instance of a MetricsContext.

N

newThread(Runnable) - Method in class com.zaxxer.hikari.util.DefaultThreadFactory
 
NO_CONTEXT - Static variable in class com.zaxxer.hikari.metrics.MetricsTracker
 
NO_LEAK - Static variable in class com.zaxxer.hikari.pool.LeakTask
 

P

PoolBagEntry - Class in com.zaxxer.hikari.pool
Entry used in the ConcurrentBag to track Connection instances.
PoolBagEntry(Connection, BaseHikariPool) - Constructor for class com.zaxxer.hikari.pool.PoolBagEntry
 
PoolInitializationException - Exception in com.zaxxer.hikari.pool
A custom exception thrown if pool initialization fails.
PoolInitializationException(Throwable) - Constructor for exception com.zaxxer.hikari.pool.PoolInitializationException
Construct an exception, possibly wrapping the provided Throwable as the cause.
PoolUtilities - Class in com.zaxxer.hikari.pool
 
PoolUtilities(HikariConfig) - Constructor for class com.zaxxer.hikari.pool.PoolUtilities
 
prepareCall(String) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareCall(String, int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareCall(String, int, int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
PreparedStatementProxy - Class in com.zaxxer.hikari.proxy
This is the proxy class for java.sql.PreparedStatement.
prepareStatement(String) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareStatement(String, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareStatement(String, int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareStatement(String, int, int, int) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareStatement(String, int[]) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
prepareStatement(String, String[]) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
PropertyBeanSetter - Class in com.zaxxer.hikari.util
A class that reflectively sets bean properties on a target object.
PropertyBeanSetter() - Constructor for class com.zaxxer.hikari.util.PropertyBeanSetter
 
ProxyFactory - Class in com.zaxxer.hikari.proxy
A factory class that produces proxies around instances of the standard JDBC interfaces.

Q

quietlyCloseConnection(Connection, String) - Method in class com.zaxxer.hikari.pool.PoolUtilities
Close connection and eat any exception.
quietlySleep(long) - Static method in class com.zaxxer.hikari.util.UtilityElf
Sleep and transform an InterruptedException into a RuntimeException.

R

recordConnectionRequest(long) - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
recordConnectionRequest(long) - Method in class com.zaxxer.hikari.metrics.MetricsTracker
 
recordConnectionUsage(PoolBagEntry) - Method in class com.zaxxer.hikari.metrics.CodaHaleMetricsTracker
recordConnectionUsage(PoolBagEntry) - Method in class com.zaxxer.hikari.metrics.MetricsTracker
 
registerHealthChecks(BaseHikariPool, HealthCheckRegistry) - Static method in class com.zaxxer.hikari.metrics.CodahaleHealthChecker
Register Dropwizard health checks.
registerMBeans(HikariConfig, BaseHikariPool) - Static method in class com.zaxxer.hikari.pool.HikariMBeanElf
Register MBeans for HikariConfig and HikariPool.
releaseConnection(PoolBagEntry) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
Release a connection back to the pool, or permanently close it if it is broken.
remove(T) - Method in class com.zaxxer.hikari.util.ConcurrentBag
Remove a value from the bag.
remove(T) - Method in class com.zaxxer.hikari.util.FastList
This remove method is most efficient when the element being removed is the last element.
removeLast() - Method in class com.zaxxer.hikari.util.FastList
Remove the last element from the list.
requite(T) - Method in class com.zaxxer.hikari.util.ConcurrentBag
This method will return a borrowed object to the bag.
reserve(T) - Method in class com.zaxxer.hikari.util.ConcurrentBag
The method is used to make an item in the bag "unavailable" for borrowing.
ResultSetProxy - Class in com.zaxxer.hikari.proxy
This is the proxy class for java.sql.ResultSet.
resumePool() - Method in class com.zaxxer.hikari.HikariDataSource
Resume allocation of connections from the pool.
resumePool() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
resumePool() - Method in interface com.zaxxer.hikari.pool.HikariPoolMXBean
 
rollback() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
rollback(Savepoint) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
run() - Method in class com.zaxxer.hikari.pool.LeakTask

S

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
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.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.HikariConfigMXBean
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
Set a DataSource for the pool to explicitly wrap.
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
 
setHealthCheckProperties(Properties) - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
setHealthCheckRegistry(Object) - Method in class com.zaxxer.hikari.AbstractHikariConfig
Set a Codahale HealthCheckRegistry to use for HikariCP.
setHealthCheckRegistry(Object) - Method in class com.zaxxer.hikari.HikariDataSource
Set a Codahale HealthCheckRegistry to use for HikariCP.
setHealthCheckRegistry(Object) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
 
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariConfigMXBean
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.
setMetricRegistry(Object) - Method in class com.zaxxer.hikari.HikariDataSource
Set a Codahale MetricRegistry to use for HikariCP.
setMetricRegistry(Object) - Method in class com.zaxxer.hikari.pool.BaseHikariPool
 
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.HikariConfigMXBean
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.HikariConfigMXBean
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.HikariPoolMXBean
 
start(PoolBagEntry) - Method in class com.zaxxer.hikari.pool.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
 
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.HikariPoolMXBean
 

T

toString() - Method in class com.zaxxer.hikari.HikariDataSource
toString() - Method in class com.zaxxer.hikari.pool.BaseHikariPool
 
toString() - Method in class com.zaxxer.hikari.pool.PoolBagEntry
 
toString() - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
 
transactionIsolation - Variable in class com.zaxxer.hikari.pool.BaseHikariPool
 

U

unregisterMBeans(HikariConfig, BaseHikariPool) - Static method in class com.zaxxer.hikari.pool.HikariMBeanElf
Unregister MBeans for HikariConfig and HikariPool.
unreserve(T) - Method in class com.zaxxer.hikari.util.ConcurrentBag
This method is used to make an item reserved via reserve(T) available again for borrowing.
untrackStatement(Statement) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
Called by Statement and its subclasses when they are closed to remove them from the tracking list.
untrackStatement(Statement) - Method in interface com.zaxxer.hikari.proxy.IHikariConnectionProxy
Called by Statement and its subclasses when they are closed to remove them from the tracking list.
unwrap(Class<T>) - Method in class com.zaxxer.hikari.hibernate.HikariConnectionProvider
 
unwrap(Class<T>) - Method in class com.zaxxer.hikari.HikariDataSource
unwrap(Class<T>) - Method in class com.zaxxer.hikari.proxy.ConnectionProxy
unwrap(Class<T>) - Method in class com.zaxxer.hikari.proxy.ResultSetProxy
unwrap(Class<T>) - Method in class com.zaxxer.hikari.proxy.StatementProxy
unwrap(Class<T>) - Method in class com.zaxxer.hikari.util.DriverDataSource
 
updateRow() - Method in class com.zaxxer.hikari.proxy.ResultSetProxy
UtilityElf - Class in com.zaxxer.hikari.util
 
UtilityElf() - Constructor for class com.zaxxer.hikari.util.UtilityElf
 

V

validate() - Method in class com.zaxxer.hikari.AbstractHikariConfig
 
values(int) - Method in class com.zaxxer.hikari.util.ConcurrentBag
This method provides a "snaphot" in time of the BagEntry items in the bag in the specified state.
A B C D E F G H I J L M N P Q R S T U V 
Skip navigation links

Copyright © 2016 Zaxxer.com. All Rights Reserved.