Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.core.config
Class PoolingAttributes

java.lang.Object
  extended by oracle.odi.core.config.PoolingAttributes

public class PoolingAttributes
extends java.lang.Object

JDBC Connection pooling attributes for internal connection pooling.

Note: property statementCacheSize only applies to Oracle JDBC driver.

Since:
11.1.1.3.0

Field Summary
static int DEFAULT_INACTIVE_CONNECTION_TIMEOUT
          Inactive connection timeout default value.
static int DEFAULT_INITIAL_POOL_SIZE
          Initial pool size default value.
static int DEFAULT_MAX_POOL_SIZE
          Max pool size default value.
static int DEFAULT_MIN_POOL_SIZE
          Min pool size default value.
static int DEFAULT_STATEMENT_CACHE_SIZE
          Default JDBC Statement cache size.
 
Constructor Summary
PoolingAttributes()
          Default constructor applying default pooling attributes.
PoolingAttributes(int pInitialPoolSize, int pMaxPoolSize, int pMinPoolSize, int pInactiveConnectionTimeout)
          PoolingAttributes constructor.
PoolingAttributes(int pInitialPoolSize, int pMaxPoolSize, int pMinPoolSize, int pInactiveConnectionTimeout, int pStatementCacheSize)
          PoolingAttributes constructor.
 
Method Summary
 int getInactiveConnectionTimeout()
          Gets this PoolingAttributes' inactive connection timeout.
 int getInitialPoolSize()
          Gets this PoolingAttributes' initial pool size.
 int getMaxPoolSize()
          Gets this PoolingAttributes' maximum pool size.
 int getMinPoolSize()
          Gets this PoolingAttributes' minimum pool size.
 int getStatementCacheSize()
          Gets this PoolingAttributes' statement cache size.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_INACTIVE_CONNECTION_TIMEOUT

public static final int DEFAULT_INACTIVE_CONNECTION_TIMEOUT
Inactive connection timeout default value.

See Also:
Constant Field Values

DEFAULT_INITIAL_POOL_SIZE

public static final int DEFAULT_INITIAL_POOL_SIZE
Initial pool size default value.

See Also:
Constant Field Values

DEFAULT_MAX_POOL_SIZE

public static final int DEFAULT_MAX_POOL_SIZE
Max pool size default value.

See Also:
Constant Field Values

DEFAULT_MIN_POOL_SIZE

public static final int DEFAULT_MIN_POOL_SIZE
Min pool size default value.

See Also:
Constant Field Values

DEFAULT_STATEMENT_CACHE_SIZE

public static final int DEFAULT_STATEMENT_CACHE_SIZE
Default JDBC Statement cache size.

See Also:
Constant Field Values
Constructor Detail

PoolingAttributes

public PoolingAttributes()
Default constructor applying default pooling attributes.


PoolingAttributes

public PoolingAttributes(int pInitialPoolSize,
                         int pMaxPoolSize,
                         int pMinPoolSize,
                         int pInactiveConnectionTimeout)
PoolingAttributes constructor.

Parameters:
pInitialPoolSize - initial connection pool size
pMaxPoolSize - max connection pool size
pMinPoolSize - min connection pool size
pInactiveConnectionTimeout - timeout for inactive connection in pool

PoolingAttributes

public PoolingAttributes(int pInitialPoolSize,
                         int pMaxPoolSize,
                         int pMinPoolSize,
                         int pInactiveConnectionTimeout,
                         int pStatementCacheSize)
PoolingAttributes constructor.

Parameters:
pInitialPoolSize - initial connection pool size
pMaxPoolSize - max connection pool size
pMinPoolSize - min connection pool size
pInactiveConnectionTimeout - timeout for inactive connection in pool
pStatementCacheSize - cache size for JDBC statements
Method Detail

getInactiveConnectionTimeout

public int getInactiveConnectionTimeout()
Gets this PoolingAttributes' inactive connection timeout.

Returns:
the inactiveConnectionTimeout

getInitialPoolSize

public int getInitialPoolSize()
Gets this PoolingAttributes' initial pool size.

Returns:
the initialPoolSize

getMaxPoolSize

public int getMaxPoolSize()
Gets this PoolingAttributes' maximum pool size.

Returns:
the maxPoolSize

getMinPoolSize

public int getMinPoolSize()
Gets this PoolingAttributes' minimum pool size.

Returns:
the minPoolSize

getStatementCacheSize

public int getStatementCacheSize()
Gets this PoolingAttributes' statement cache size.

Returns:
the statementCacheSize

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.