Class PoolConfiguration
java.lang.Object
org.nuxeo.ecm.core.api.repository.PoolConfiguration
Descriptor of the pool of low-level Nuxeo Sessions.
- Since:
- 5.6
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionCopy constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
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 Details
-
DEFAULT_MAX_POOL_SIZE
public static final int DEFAULT_MAX_POOL_SIZE- See Also:
-
DEFAULT_MIN_POOL_SIZE
public static final int DEFAULT_MIN_POOL_SIZE- See Also:
-
DEFAULT_BLOCKING_TIMEOUT_MILLIS
public static final int DEFAULT_BLOCKING_TIMEOUT_MILLIS- See Also:
-
-
Constructor Details
-
PoolConfiguration
public PoolConfiguration() -
PoolConfiguration
Copy constructor.
-
-
Method Details
-
merge
-
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)
-