Method for improved connection pool and prepared statement cache
AssigneeBEA Systems, Inc.
InventorsRaul Srivastava, Adam Messinger
Life of this patent
Estimating the term…
Abstract
A method for an improved resource pool is provided that provides for dynamic configuration and is comprised of code that is configured to be used for different subsystems, including JDBC, Connector, and JMS subsystems. Pool maintenance, resource object creation and timeout, multiple deque management, and pool state transition features are provided. An application server may include at least one resource pool object, wherein each resource pool object represents a resource pool in the application server. A method for an improved prepared statement cache is also provided that works in conjunction with the resource pool implementation to more effectively provide for prepared statement processing.
Claims19
A method for performing resource pool size maintenance for an application server, comprising:
- triggering a resource pool shrink check;
- determining that pool shrinking is necessary;
- reducing resources in an unavailable deque;
- and
- reducing resources in an available deque.
A method for performing resource pool maintenance for an application server, comprising:
- triggering a test for pool resources;
- performing a test on pool resources;
- and
- refreshing pool resources based on the pool resources testing.
A method for performing maintenance on connection pool deques in an application server, comprising:
- traversing an unavailable deque and a reserved deque;
- performing maintenance on the unavailable deque;
- and
- performing maintenance on the reserved deque.
A method for performing resource creation in a connection pool in an application server, comprising:
- generating a resource in connection pool;
- confirming the generation of the resource in the connection pool;
- moving the resource to an available deque;
Dependencies are inferred from the claim text.