Interface ObjectPoolMBean


  • 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

    • Method Detail

      • setUseDefaults

        @Deprecated
        void setUseDefaults​(boolean useDefaults)
                     throws ConfigurationException,
                            com.opencloud.util.exception.ValidationException
        Deprecated.
        This property is no longer used, consequently this method no longer has any effect.

        Make this pool use the dimensions of its default pool

        Parameters:
        useDefaults - true/enabled or false/disabled
        Throws:
        ConfigurationException
        com.opencloud.util.exception.ValidationException
      • setInitialPooledPoolSize

        void setInitialPooledPoolSize​(int size)
                               throws ConfigurationException,
                                      com.opencloud.util.exception.ValidationException

        Change the initial size of the pooled pool for this config.

        Parameters:
        size - the initial pool size
        Throws:
        ConfigurationException - if the size is negative, or greater than the current pooled pool size.
        com.opencloud.util.exception.ValidationException
      • setPooledPoolSize

        void setPooledPoolSize​(int size)
                        throws ConfigurationException,
                               com.opencloud.util.exception.ValidationException

        Change the size of the pooled pool for this config.

        Parameters:
        size - the new pool size
        Throws:
        ConfigurationException - ValidationException if size is less than or equal to zero
        com.opencloud.util.exception.ValidationException
      • setStatePoolSize

        void setStatePoolSize​(int size)
                       throws ConfigurationException,
                              com.opencloud.util.exception.ValidationException

        Set the size of the state pool for this config.

        Parameters:
        size - the new pool size
        Throws:
        ConfigurationException - ValidationException if size is less than or equal to zero
        com.opencloud.util.exception.ValidationException
      • setPersistentStatePoolSize

        void setPersistentStatePoolSize​(int size)
                                 throws ConfigurationException,
                                        com.opencloud.util.exception.ValidationException

        Set the size of the persistent state pool for this config.

        Parameters:
        size - the new pool size
        Throws:
        ConfigurationException - ValidationException if size is less than or equal to zero
        com.opencloud.util.exception.ValidationException
      • setReadyPoolSize

        void setReadyPoolSize​(int size)
                       throws ConfigurationException,
                              com.opencloud.util.exception.ValidationException

        Set the size of the ready pool for this config.

        Parameters:
        size - the new pool size
        Throws:
        ConfigurationException - ValidationException if size is less than or equal to zero
        com.opencloud.util.exception.ValidationException
      • setStalePoolSize

        void setStalePoolSize​(int size)
                       throws ConfigurationException,
                              com.opencloud.util.exception.ValidationException

        Set the size of the stale pool for this config.

        Parameters:
        size - the new pool size
        Throws:
        ConfigurationException - ValidationException if size is less than or equal to zero
        com.opencloud.util.exception.ValidationException
      • getUseDefaults

        @Deprecated
        boolean getUseDefaults()
                        throws ConfigurationException
        Deprecated.
        This property is no longer used, and this method will now always return false.

        Are the dimensions of the default profile used

        Returns:
        true/enabled or false/disabled
        Throws:
        ConfigurationException