Class ReadConnectionPool

java.lang.Object
org.eclipse.persistence.sessions.server.ConnectionPool
org.eclipse.persistence.sessions.server.ReadConnectionPool

public class ReadConnectionPool extends ConnectionPool

Purpose: The read connection pool is used for read access through the server session. Any of the connection pools can be used for the read pool however this is the default. This pool allows for concurrent reads against the same JDBC connection and requires that the JDBC connection support concurrent read access.

  • Constructor Details

    • ReadConnectionPool

      public ReadConnectionPool()
      PUBLIC: Build a new read connection pool.
    • ReadConnectionPool

      public ReadConnectionPool(String name, Login login, ServerSession owner)
      PUBLIC: Build a new read connection pool.
    • ReadConnectionPool

      public ReadConnectionPool(String name, Login login, int minNumberOfConnections, int maxNumberOfConnections, ServerSession owner)
      PUBLIC: Build a new read connection pool.
    • ReadConnectionPool

      public ReadConnectionPool(String name, Login login, int initialNumberOfConnections, int minNumberOfConnections, int maxNumberOfConnections, ServerSession owner)
      PUBLIC: Build a new read connection pool.
  • Method Details