Uses of Class
org.attribyte.sql.pool.ConnectionPool.Initializer
Packages that use ConnectionPool.Initializer
Package
Description
ACP is an open-source JDBC connection pool designed to support the high throughput, concurrency, tuning,
monitoring and reporting typically required to support production application servers.
-
Uses of ConnectionPool.Initializer in org.attribyte.sql.pool
Methods in org.attribyte.sql.pool that return ConnectionPool.InitializerModifier and TypeMethodDescriptionConnectionPool.Initializer.addActiveSegment(ConnectionPoolSegment segment) Adds an active segment to the pool.ConnectionPool.Initializer.addActiveSegments(List<ConnectionPoolSegment> segments) Adds active segments to the pool.Adds an alias for this pool.ConnectionPool.Initializer.addReserveSegment(ConnectionPoolSegment segment) Adds a reserve segment to the pool.ConnectionPool.Initializer.addReserveSegments(List<ConnectionPoolSegment> segments) Adds reserve segments to the pool.static ConnectionPool.InitializerConnectionPool.newInitializer()Creates an empty initializer.ConnectionPool.Initializer.setIdleCheckInterval(long idleCheckInterval, TimeUnit idleCheckIntervalUnit) Sets the interval between checks for idle segments.ConnectionPool.Initializer.setLogger(org.attribyte.api.Logger logger) Sets the logger.ConnectionPool.Initializer.setMinActiveSegments(int minActiveSegments) Sets the minimum number of active statements.ConnectionPool.Initializer.setMinSegmentExpansionDelay(long minSegmentExpansionDelayMillis) Sets the minimum delay between segment expansions in milliseconds.Sets the name of the pool.ConnectionPool.Initializer.setSaturatedAcquireTimeout(long saturatedAcquireTimeout, TimeUnit saturatedAcquireTimeoutUnit) Sets the maximum amount of time to wait for an available connection when pool is saturated.Methods in org.attribyte.sql.pool that return types with arguments of type ConnectionPool.InitializerModifier and TypeMethodDescriptionstatic final List<ConnectionPool.Initializer> ConnectionPool.Initializer.fromConfig(com.typesafe.config.Config config, PasswordSource passwordSource, org.attribyte.api.Logger logger) Create anInitializerfor each configured pool.static final List<ConnectionPool.Initializer> ConnectionPool.Initializer.fromConfigFile(File configFile, PasswordSource passwordSource, org.attribyte.api.Logger logger) Parse a config file to create anInitializerfor each configured pool.static final List<ConnectionPool.Initializer> ConnectionPool.Initializer.fromProperties(Properties props, PasswordSource passwordSource, org.attribyte.api.Logger logger) Parse properties to create anInitializerfor each configured pool.static final List<ConnectionPool.Initializer> ConnectionPool.Initializer.fromPropertiesFile(File propsFile, PasswordSource passwordSource, org.attribyte.api.Logger logger) Parse properties to create anInitializerfor each configured pool.static final List<ConnectionPool.Initializer> TypesafeConfig.poolsFromConfig(com.typesafe.config.Config config, PasswordSource passwordSource, org.attribyte.api.Logger logger) Method parameters in org.attribyte.sql.pool with type arguments of type ConnectionPool.InitializerModifier and TypeMethodDescriptionstatic final Map<String, ConnectionPool> TypesafeConfig.buildPools(Collection<ConnectionPool.Initializer> initializers) Constructors in org.attribyte.sql.pool with parameters of type ConnectionPool.InitializerModifierConstructorDescriptionConnectionPoolDataSource(ConnectionPool.Initializer initializer) Creates a data source from a pool initializer.