Uses of Class
org.attribyte.sql.pool.ConnectionPoolSegment.Initializer
Packages that use ConnectionPoolSegment.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 ConnectionPoolSegment.Initializer in org.attribyte.sql.pool
Methods in org.attribyte.sql.pool that return ConnectionPoolSegment.InitializerModifier and TypeMethodDescriptionConnectionPoolSegment.defaultInitializer()Creates a segment initializer with default values.ConnectionPoolSegment.newInitializer()Creates an empty initializer.ConnectionPoolSegment.Initializer.setAcquireTimeout(long timeout, TimeUnit timeoutUnit) Sets the maximum amount of time to wait for a connection if all are busy.ConnectionPoolSegment.Initializer.setActiveTimeout(long timeout, TimeUnit timeoutUnit) Sets the maximum amount of time a connection may be active before automatically closed.ConnectionPoolSegment.Initializer.setActiveTimeoutMonitorFrequency(long timeout, TimeUnit timeoutUnit) Sets the frequency the active timeout monitor runs.ConnectionPoolSegment.Initializer.setActivityTimeoutPolicy(ConnectionPoolConnection.ActivityTimeoutPolicy activityTimeoutPolicy) Sets the policy followed by the pool when a connection activity timeout is reached.ConnectionPoolSegment.Initializer.setCloseConcurrency(int closerConcurrency) Sets the number of threads handling connection close.ConnectionPoolSegment.Initializer.setCloseTimeLimitMillis(long closeTimeLimitMillis) Sets the maximum amount of time connection close will block.ConnectionPoolSegment.Initializer.setConnection(JDBConnection jdbcConnection) Sets the database connection.ConnectionPoolSegment.Initializer.setConnectionLifetime(long connectionLife, TimeUnit connectionLifeUnit) Sets the lifetime of (real) connections before automatic close/reopen.ConnectionPoolSegment.Initializer.setForceRealClosePolicy(ConnectionPoolConnection.ForceRealClosePolicy forceRealClosePolicy) Sets the policy followed by the pool when a "forced" close is trigger (for example, connection is in-use longer than the configured maximum lease time).ConnectionPoolSegment.Initializer.setIdleTimeBeforeShutdown(long time, TimeUnit timeUnit) Sets the time this segment must be idle before it is shutdown.ConnectionPoolSegment.Initializer.setIncompleteTransactionOnClosePolicy(ConnectionPoolConnection.IncompleteTransactionPolicy incompleteTransactionPolicy) Sets the incomplete transaction (on close) policy.ConnectionPoolSegment.Initializer.setLogger(org.attribyte.api.Logger logger) Sets the logger for this segment.ConnectionPoolSegment.Initializer.setMaxConcurrentReconnects(int maxConcurrentReconnects) Sets the maximum number of simultaneous database reconnect attempts.ConnectionPoolSegment.Initializer.setMaxReconnectDelay(long time, TimeUnit timeUnit) Sets the maximum delay (after failure) between reconnect attempts.ConnectionPoolSegment.Initializer.setMinActiveTime(long time, TimeUnit timeUnit) Sets the minimum time this segment must be active before it is eligible for shutdown.Sets the name of the segment.ConnectionPoolSegment.Initializer.setOpenStatementOnClosePolicy(ConnectionPoolConnection.OpenStatementPolicy openStatementPolicy) Sets the open statement (on close) policy.ConnectionPoolSegment.Initializer.setPasswordSource(PasswordSource passwordSource) Sets a password source for this segment.ConnectionPoolSegment.Initializer.setSize(int size) Sets the number of connections in the segment.ConnectionPoolSegment.Initializer.setTestOnLogicalClose(boolean testOnLogicalClose) Sets the option to test connections when they are logically closed.ConnectionPoolSegment.Initializer.setTestOnLogicalOpen(boolean testOnLogicalOpen) Sets thr option to test connections when they are logically opened.Constructors in org.attribyte.sql.pool with parameters of type ConnectionPoolSegment.InitializerModifierConstructorDescriptionCreates an initializer from another.