Uses of Interface
org.datanucleus.store.rdbms.datasource.dbcp2.pool2.PooledObject
Packages that use PooledObject
Package
Description
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
-
Uses of PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2
Methods in org.datanucleus.store.rdbms.datasource.dbcp2 that return PooledObjectModifier and TypeMethodDescriptionPoolableConnectionFactory.makeObject()PoolingConnection.makeObject(PStmtKey key) KeyedPooledObjectFactorymethod for creatingPoolablePreparedStatements orPoolableCallableStatements.Methods in org.datanucleus.store.rdbms.datasource.dbcp2 with parameters of type PooledObjectModifier and TypeMethodDescriptionvoidPoolableConnectionFactory.activateObject(PooledObject<PoolableConnection> p) voidPoolingConnection.activateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for activating pooled statements.voidPoolableConnectionFactory.destroyObject(PooledObject<PoolableConnection> p) voidPoolingConnection.destroyObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for destroying PoolablePreparedStatements and PoolableCallableStatements.voidPoolableConnectionFactory.passivateObject(PooledObject<PoolableConnection> p) voidPoolingConnection.passivateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) private voidPoolableConnectionFactory.validateLifetime(PooledObject<PoolableConnection> p) booleanPoolableConnectionFactory.validateObject(PooledObject<PoolableConnection> p) booleanPoolingConnection.validateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for validating pooled statements. -
Uses of PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter
Methods in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter that return PooledObjectModifier and TypeMethodDescriptionPooledConnectionImpl.makeObject(PStmtKey key) MyKeyedPooledObjectFactorymethod for creatingPreparedStatements.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter with parameters of type PooledObjectModifier and TypeMethodDescriptionvoidPooledConnectionImpl.activateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for activatingPreparedStatements.voidPooledConnectionImpl.destroyObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for destroyingPreparedStatements.voidPooledConnectionImpl.passivateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for passivatingPreparedStatements.booleanPooledConnectionImpl.validateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for validatingPreparedStatements. -
Uses of PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2.datasources
Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources that return PooledObjectModifier and TypeMethodDescriptionCPDSConnectionFactory.makeObject()KeyedCPDSConnectionFactory.makeObject(UserPassKey upkey) Creates a newPooledConnectionAndInfofrom the givenUserPassKey.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.datasources with parameters of type PooledObjectModifier and TypeMethodDescriptionvoidCPDSConnectionFactory.activateObject(PooledObject<PooledConnectionAndInfo> p) voidKeyedCPDSConnectionFactory.activateObject(UserPassKey key, PooledObject<PooledConnectionAndInfo> p) voidCPDSConnectionFactory.destroyObject(PooledObject<PooledConnectionAndInfo> p) Closes the PooledConnection and stops listening for events from it.voidKeyedCPDSConnectionFactory.destroyObject(UserPassKey key, PooledObject<PooledConnectionAndInfo> p) Closes the PooledConnection and stops listening for events from it.voidCPDSConnectionFactory.passivateObject(PooledObject<PooledConnectionAndInfo> p) voidKeyedCPDSConnectionFactory.passivateObject(UserPassKey key, PooledObject<PooledConnectionAndInfo> p) private voidCPDSConnectionFactory.validateLifetime(PooledObject<PooledConnectionAndInfo> p) private voidKeyedCPDSConnectionFactory.validateLifetime(PooledObject<PooledConnectionAndInfo> p) booleanCPDSConnectionFactory.validateObject(PooledObject<PooledConnectionAndInfo> p) booleanKeyedCPDSConnectionFactory.validateObject(UserPassKey key, PooledObject<PooledConnectionAndInfo> pooledObject) Validates a pooled connection. -
Uses of PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2.pool2
Subinterfaces with type arguments of type PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2.pool2Modifier and TypeInterfaceDescriptioninterfacePooledObject<T>Defines the wrapper that is used to track the additional information, such as state, for the pooled objects.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 that return PooledObjectModifier and TypeMethodDescriptionBaseKeyedPooledObjectFactory.makeObject(K key) BasePooledObjectFactory.makeObject()KeyedPooledObjectFactory.makeObject(K key) Create an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.PooledObjectFactory.makeObject()Creates an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.PoolUtils.SynchronizedKeyedPooledObjectFactory.makeObject(K key) Create an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.PoolUtils.SynchronizedPooledObjectFactory.makeObject()Creates an instance that can be served by the pool and wrap it in aPooledObjectto be managed by the pool.abstract PooledObject<V> Wrap the provided instance with an implementation ofPooledObject.abstract PooledObject<T> Wrap the provided instance with an implementation ofPooledObject.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with parameters of type PooledObjectModifier and TypeMethodDescriptionvoidBaseKeyedPooledObjectFactory.activateObject(K key, PooledObject<V> p) Reinitialize an instance to be returned by the pool.voidBasePooledObjectFactory.activateObject(PooledObject<T> p) No-op.voidKeyedPooledObjectFactory.activateObject(K key, PooledObject<V> p) Reinitialize an instance to be returned by the pool.voidPooledObjectFactory.activateObject(PooledObject<T> p) Reinitializes an instance to be returned by the pool.voidPoolUtils.SynchronizedKeyedPooledObjectFactory.activateObject(K key, PooledObject<V> p) Reinitialize an instance to be returned by the pool.voidPoolUtils.SynchronizedPooledObjectFactory.activateObject(PooledObject<T> p) Reinitializes an instance to be returned by the pool.intPooledObject.compareTo(PooledObject<T> other) Orders instances based on idle time - i.e.voidBaseKeyedPooledObjectFactory.destroyObject(K key, PooledObject<V> p) Destroy an instance no longer needed by the pool.voidBasePooledObjectFactory.destroyObject(PooledObject<T> p) No-op.voidKeyedPooledObjectFactory.destroyObject(K key, PooledObject<V> p) Destroy an instance no longer needed by the pool.voidPooledObjectFactory.destroyObject(PooledObject<T> p) Destroys an instance no longer needed by the pool.voidPoolUtils.SynchronizedKeyedPooledObjectFactory.destroyObject(K key, PooledObject<V> p) Destroy an instance no longer needed by the pool.voidPoolUtils.SynchronizedPooledObjectFactory.destroyObject(PooledObject<T> p) Destroys an instance no longer needed by the pool.voidBaseKeyedPooledObjectFactory.passivateObject(K key, PooledObject<V> p) Uninitialize an instance to be returned to the idle object pool.voidBasePooledObjectFactory.passivateObject(PooledObject<T> p) No-op.voidKeyedPooledObjectFactory.passivateObject(K key, PooledObject<V> p) Uninitialize an instance to be returned to the idle object pool.voidPooledObjectFactory.passivateObject(PooledObject<T> p) Uninitializes an instance to be returned to the idle object pool.voidPoolUtils.SynchronizedKeyedPooledObjectFactory.passivateObject(K key, PooledObject<V> p) Uninitialize an instance to be returned to the idle object pool.voidPoolUtils.SynchronizedPooledObjectFactory.passivateObject(PooledObject<T> p) Uninitializes an instance to be returned to the idle object pool.booleanBaseKeyedPooledObjectFactory.validateObject(K key, PooledObject<V> p) Ensures that the instance is safe to be returned by the pool.booleanBasePooledObjectFactory.validateObject(PooledObject<T> p) This implementation always returnstrue.booleanKeyedPooledObjectFactory.validateObject(K key, PooledObject<V> p) Ensures that the instance is safe to be returned by the pool.booleanPooledObjectFactory.validateObject(PooledObject<T> p) Ensures that the instance is safe to be returned by the pool.booleanPoolUtils.SynchronizedKeyedPooledObjectFactory.validateObject(K key, PooledObject<V> p) Ensures that the instance is safe to be returned by the pool.booleanPoolUtils.SynchronizedPooledObjectFactory.validateObject(PooledObject<T> p) Ensures that the instance is safe to be returned by the pool.Method parameters in org.datanucleus.store.rdbms.datasource.dbcp2.pool2 with type arguments of type PooledObjectModifier and TypeMethodDescriptionbooleanPooledObject.endEvictionTest(Deque<PooledObject<T>> idleQueue) Called to inform the object that the eviction test has ended. -
Uses of PooledObject in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl
Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that implement PooledObjectModifier and TypeClassDescriptionclassThis wrapper is used to track the additional information, such as state, for the pooled objects.classExtension ofDefaultPooledObjectto wrap pooled soft references.Classes in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that implement interfaces with type arguments of type PooledObjectModifier and TypeClassDescription(package private) classThe idle object eviction iterator.Fields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl declared as PooledObjectModifier and TypeFieldDescriptionprivate final PooledObject<?> DefaultPooledObjectInfo.pooledObjectFields in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with type parameters of type PooledObjectModifier and TypeFieldDescriptionprivate final Map<BaseGenericObjectPool.IdentityWrapper<S>, PooledObject<S>> GenericKeyedObjectPool.ObjectDeque.allObjectsprivate final Map<BaseGenericObjectPool.IdentityWrapper<T>, PooledObject<T>> GenericObjectPool.allObjectsprivate final Iterator<PooledObject<T>> BaseGenericObjectPool.EvictionIterator.idleObjectIteratorprivate final Deque<PooledObject<T>> BaseGenericObjectPool.EvictionIterator.idleObjectsprivate final LinkedBlockingDeque<PooledObject<S>> GenericKeyedObjectPool.ObjectDeque.idleObjectsprivate final LinkedBlockingDeque<PooledObject<T>> GenericObjectPool.idleObjectsMethods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that return PooledObjectModifier and TypeMethodDescriptionprivate PooledObject<T> Create a new pooled object.private PooledObject<T> GenericObjectPool.create()Attempts to create a new wrapped pooled object.BaseGenericObjectPool.EvictionIterator.next()Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl that return types with arguments of type PooledObjectModifier and TypeMethodDescriptionGenericKeyedObjectPool.ObjectDeque.getAllObjects()Obtain all the objects for the current key.BaseGenericObjectPool.EvictionIterator.getIdleObjects()Returns the idle object deque referenced by this iterator.GenericKeyedObjectPool.ObjectDeque.getIdleObjects()Obtain the idle objects for the current key.Methods in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with parameters of type PooledObjectModifier and TypeMethodDescriptionprivate voidGenericKeyedObjectPool.addIdleObject(K key, PooledObject<T> p) Add an object to the set of idle objects for a given key.private voidGenericObjectPool.addIdleObject(PooledObject<T> p) Adds the provided wrapped pooled object to the set of idle objects for this pool.intDefaultPooledObject.compareTo(PooledObject<T> other) private booleanGenericKeyedObjectPool.destroy(K key, PooledObject<T> toDestroy, boolean always) Destroy the wrapped, pooled object.private voidGenericObjectPool.destroy(PooledObject<T> toDestroy) Destroys a wrapped pooled object.booleanDefaultEvictionPolicy.evict(EvictionConfig config, PooledObject<T> underTest, int idleCount) booleanEvictionPolicy.evict(EvictionConfig config, PooledObject<T> underTest, int idleCount) This method is called to test if an idle object in the pool should be evicted or not.protected voidBaseGenericObjectPool.markReturningState(PooledObject<T> pooledObject) Marks the object as returning to the pool.(package private) final voidBaseGenericObjectPool.updateStatsBorrow(PooledObject<T> p, long waitTime) Updates statistics after an object is borrowed from the pool.Method parameters in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with type arguments of type PooledObjectModifier and TypeMethodDescriptionbooleanDefaultPooledObject.endEvictionTest(Deque<PooledObject<T>> idleQueue) private voidGenericKeyedObjectPool.whenWaitersAddObject(K key, LinkedBlockingDeque<PooledObject<T>> idleObjects) Whether there is at least one thread waiting on this deque, add an pool object.Constructors in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with parameters of type PooledObjectModifierConstructorDescriptionDefaultPooledObjectInfo(PooledObject<?> pooledObject) Create a new instance for the given pooled object.Constructor parameters in org.datanucleus.store.rdbms.datasource.dbcp2.pool2.impl with type arguments of type PooledObjectModifierConstructorDescription(package private)EvictionIterator(Deque<PooledObject<T>> idleObjects) Create an EvictionIterator for the provided idle instance deque.