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/disabledConfigurationException
com.opencloud.util.exception.ValidationException
void 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.ValidationException
void 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.ValidationException
void 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.ValidationException
void 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.ValidationException
void 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.ValidationException
void 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
.ConfigurationException
int getInitialPooledPoolSize() throws ConfigurationException
ConfigurationException
int getPooledPoolSize() throws ConfigurationException
ConfigurationException
int getStatePoolSize() throws ConfigurationException
ConfigurationException
int getPersistentStatePoolSize() throws ConfigurationException
ConfigurationException
int getReadyPoolSize() throws ConfigurationException
ConfigurationException
int getStalePoolSize() throws ConfigurationException
ConfigurationException