Class PoolConfiguration
- java.lang.Object
-
- org.nuxeo.ecm.core.api.repository.PoolConfiguration
-
public class PoolConfiguration extends Object
Descriptor of the pool of low-level Nuxeo Sessions.- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BLOCKING_TIMEOUT_MILLIS
static int
DEFAULT_MAX_POOL_SIZE
static int
DEFAULT_MIN_POOL_SIZE
-
Constructor Summary
Constructors Constructor Description PoolConfiguration()
PoolConfiguration(PoolConfiguration other)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBlockingTimeoutMillis()
int
getMaxPoolSize()
int
getMinPoolSize()
void
merge(PoolConfiguration other)
void
setBlockingTimeoutMillis(int blockingTimeoutMillis)
void
setMaxActive(int num)
void
setMaxIdle(int num)
void
setMaxPoolSize(int maxPoolSize)
void
setMaxWait(int num)
void
setMinPoolSize(int minPoolSize)
-
-
-
Field Detail
-
DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_MAX_POOL_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MIN_POOL_SIZE
public static final int DEFAULT_MIN_POOL_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_BLOCKING_TIMEOUT_MILLIS
public static final int DEFAULT_BLOCKING_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PoolConfiguration
public PoolConfiguration()
-
PoolConfiguration
public PoolConfiguration(PoolConfiguration other)
Copy constructor.
-
-
Method Detail
-
merge
public void merge(PoolConfiguration other)
-
getMaxPoolSize
public int getMaxPoolSize()
-
getMinPoolSize
public int getMinPoolSize()
-
getBlockingTimeoutMillis
public int getBlockingTimeoutMillis()
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
-
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
-
setBlockingTimeoutMillis
public void setBlockingTimeoutMillis(int blockingTimeoutMillis)
-
setMaxActive
public void setMaxActive(int num)
-
setMaxIdle
public void setMaxIdle(int num)
-
setMaxWait
public void setMaxWait(int num)
-
-