public interface ObjectPoolMBean
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialPooledPoolSize()
Get the initial pooled size of this config.
|
int |
getPersistentStatePoolSize()
Get the persistent state pool size of this config.
|
int |
getPooledPoolSize()
Get the pooled pool size of this config.
|
int |
getReadyPoolSize()
Get the ready pool size of this config.
|
int |
getStalePoolSize()
Get the stale pool size of this config.
|
int |
getStatePoolSize()
Get the state pool size of this config.
|
boolean |
getUseDefaults()
Deprecated.
This property is no longer used, and this method will now always return
false. |
void |
setInitialPooledPoolSize(int size)
Change the initial size of the pooled pool for this config.
|
void |
setPersistentStatePoolSize(int size)
Set the size of the persistent state pool for this config.
|
void |
setPooledPoolSize(int size)
Change the size of the pooled pool for this config.
|
void |
setReadyPoolSize(int size)
Set the size of the ready pool for this config.
|
void |
setStalePoolSize(int size)
Set the size of the stale pool for this config.
|
void |
setStatePoolSize(int size)
Set the size of the state pool for this config.
|
void |
setUseDefaults(boolean useDefaults)
Deprecated.
This property is no longer used, consequently this method no longer has any effect.
|
@Deprecated void setUseDefaults(boolean useDefaults) throws ConfigurationException, com.opencloud.util.exception.ValidationException
useDefaults - true/enabled or false/disabledConfigurationExceptioncom.opencloud.util.exception.ValidationExceptionvoid setInitialPooledPoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the initial pool sizeConfigurationException - if the size is negative, or greater than the current pooled pool size.com.opencloud.util.exception.ValidationExceptionvoid setPooledPoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the new pool sizeConfigurationException - ValidationException if size is less than or equal to zerocom.opencloud.util.exception.ValidationExceptionvoid setStatePoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the new pool sizeConfigurationException - ValidationException if size is less than or equal to zerocom.opencloud.util.exception.ValidationExceptionvoid setPersistentStatePoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the new pool sizeConfigurationException - ValidationException if size is less than or equal to zerocom.opencloud.util.exception.ValidationExceptionvoid setReadyPoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the new pool sizeConfigurationException - ValidationException if size is less than or equal to zerocom.opencloud.util.exception.ValidationExceptionvoid setStalePoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
size - the new pool sizeConfigurationException - ValidationException if size is less than or equal to zerocom.opencloud.util.exception.ValidationException@Deprecated boolean getUseDefaults() throws ConfigurationException
false.ConfigurationExceptionint getInitialPooledPoolSize()
throws ConfigurationException
ConfigurationExceptionint getPooledPoolSize()
throws ConfigurationException
ConfigurationExceptionint getStatePoolSize()
throws ConfigurationException
ConfigurationExceptionint getPersistentStatePoolSize()
throws ConfigurationException
ConfigurationExceptionint getReadyPoolSize()
throws ConfigurationException
ConfigurationExceptionint getStalePoolSize()
throws ConfigurationException
ConfigurationException