Custom object pool settings

An object pool manages a pool of arbitrary objects and helps applications avoid creating new Java objects repeatedly. Most objects can be created once, used and then reused. An object pool supports the pooling of objects waiting to be reused. These object pools are not meant to be used for pooling Java Database Connectivity connections or Java Message Service (JMS) connections and sessions. WAS provides specialized mechanisms for dealing with those types of objects. These object pools are intended for pooling application-defined objects or basic Developer Kit types.

To view this administrative console page, click Resources > Object pool managers > objectpoolmanager_name > Custom object pools > objectpool_name.

Use custom object pools to insert additional logic around the following mechanisms:

  • Constructing an object pool (A list of properties can be set)

  • Flushing the object pool

  • Getting objects from the pool

  • Returning objects from the pool

These features allow for actions such as, clearing the state of an object when returning it to the pool, configuring the state of an object when retrieving it from the pool, or configuring generic pools and sending instructions on how to behave using custom properties.

To use an object pool, the product administrator must define an object pool manager using the administrative console. Multiple object pool managers can be created in an Application Server cell.

 

Configuration tab

Pool Class Name

The fully qualified class name of the objects that are stored in the object pool.

Data type String

Pool Impl Class Name

The fully qualified class name of the CustomObjectPool implementation class for this object pool.

Data type String