Package org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
package org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
We have omitted the packages "org/apache/commons/dbcp2/managed" and "org/apache/commons/pool2/proxy" since they are not needed and pull in other dependencies.
We have changed the Apache Commons logging to use NucleusLogger.CONNECTION instead.
Note that there is a file under "src/main/resources/org/datanucleus/store/rdbms/datasource/dbcp2" also.
-
ClassDescriptionConfiguration settings for abandoned object removal.Base class that provides common functionality for
GenericObjectPool
andGenericKeyedObjectPool
.Wrapper for objects under management by the pool.Provides the implementation for the common attributes shared by the sub-classes.Strategy for obtaining and printing the current call stack.Utility methods forCallStack
.Provides the default implementation ofEvictionPolicy
used by the pools.This wrapper is used to track the additional information, such as state, for the pooled objects.Implementation of object that is used to provide information on pooled objects via JMX.The interface that defines the information about pooled objects that will be exposed via JMX.This class is used by pool implementations to pass configuration information toEvictionPolicy
instances.To provide a custom eviction policy (i.e.Provides a shared idle object eviction timer for all pools.Thread factory that creates a daemon thread, with the context class loader from this class.A configurableKeyedObjectPool
implementation.A simple "struct" encapsulating the configuration for aGenericKeyedObjectPool
.Defines the methods that will be made available via JMX.A configurableObjectPool
implementation.A simple "struct" encapsulating the configuration for aGenericObjectPool
.Defines the methods that will be made available via JMX.This sub-class was created to expose the waiting threads so that they can be interrupted when the pool using the queue that uses this lock is closed.An optionally-bounded blocking deque based on linked nodes.Doubly-linked list node class.CallStack strategy using no-op implementations of all functionality.Extension ofDefaultPooledObject
to wrap pooled soft references.Implementation specific utilities.CallStack strategy using aSecurityManager
.A custom security manager.A snapshot of a class stack.ASoftReference
basedObjectPool
.CallStack strategy that uses the stack trace from aThrowable
.A snapshot of a throwable.