public static class ConnectionFactory.PoolSizeConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ACTIVE |
static int |
MAX_TOTAL |
static int |
MAX_WAIT |
Constructor and Description |
---|
PoolSizeConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxActive()
Returns the maximum total number of active connections.
|
int |
getMaxTotal()
Returns the maximum total number of allowed connections.
|
int |
getMaxWait()
Returns the maximum number of waiting connections.
|
ConnectionFactory.PoolSizeConfiguration |
setMaxActive(int maxActive)
Returns this connection pool after setting the maximum total number of active connections.
|
ConnectionFactory.PoolSizeConfiguration |
setMaxTotal(int maxTotal)
Returns this connection pool after setting the maximum total number of allowed connections.
|
ConnectionFactory.PoolSizeConfiguration |
setMaxWait(int maxWait)
Returns this connection pool after setting the maximum number of waiting connections.
|
public static final int MAX_ACTIVE
public static final int MAX_TOTAL
public static final int MAX_WAIT
public int getMaxActive()
public ConnectionFactory.PoolSizeConfiguration setMaxActive(int maxActive)
maxActive
- the maximum total number of active connectionspublic int getMaxTotal()
public ConnectionFactory.PoolSizeConfiguration setMaxTotal(int maxTotal)
maxTotal
- the maximum total number of allowed connectionspublic int getMaxWait()
public ConnectionFactory.PoolSizeConfiguration setMaxWait(int maxWait)
maxWait
- the maximum number of waiting connectionsCopyright © Jitterbit, Inc. Licensed under the Jitterbit Master Subscription Agreement.