public interface ObjectPoolMBean
Configure the dimensions of this object pool. The defaults for a given service or profile pool is the default service or profile pool The defaults for the default service or profile pool is the default profile pool
| 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
Make this pool use the dimensions of its default pool
useDefaults - true/enabled or false/disabledConfigurationExceptioncom.opencloud.util.exception.ValidationExceptionvoid setInitialPooledPoolSize(int size)
throws ConfigurationException,
com.opencloud.util.exception.ValidationException
Change the initial size of the pooled pool for this config.
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
Change the size of the pooled pool for this config.
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
Set the size of the state pool for this config.
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
Set the size of the persistent state pool for this config.
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
Set the size of the ready pool for this config.
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
Set the size of the stale pool for this config.
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.Are the dimensions of the default profile used
ConfigurationExceptionint getInitialPooledPoolSize()
throws ConfigurationException
Get the initial pooled size of this config.
ConfigurationExceptionint getPooledPoolSize()
throws ConfigurationException
Get the pooled pool size of this config.
ConfigurationExceptionint getStatePoolSize()
throws ConfigurationException
Get the state pool size of this config.
ConfigurationExceptionint getPersistentStatePoolSize()
throws ConfigurationException
Get the persistent state pool size of this config.
ConfigurationExceptionint getReadyPoolSize()
throws ConfigurationException
Get the ready pool size of this config.
ConfigurationExceptionint getStalePoolSize()
throws ConfigurationException
Get the stale pool size of this config.
ConfigurationException