Class ConnectionPool

    • Constructor Detail

      • ConnectionPool

        public ConnectionPool()
    • Method Detail

      • deleteIdleTimeout

        public void deleteIdleTimeout()
      • deleteLoginTimeout

        public void deleteLoginTimeout()
      • deleteMaxPool

        public void deleteMaxPool()
      • deleteMaxSize

        public void deleteMaxSize()
      • deleteMinPool

        public void deleteMinPool()
      • equals

        public boolean equals​(Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getFactory

        public String getFactory()
        Returns the value of field 'factory'. The field 'factory' has the following description: The connection pool implementation to use.
        Returns:
        the value of field 'Factory'.
      • getIdleTimeout

        public Integer getIdleTimeout()
        Returns the value of field 'idleTimeout'. The field 'idleTimeout' has the following description: How long, in seconds, an idle connection is kept in the pool before it is removed.
        Returns:
        the value of field 'IdleTimeout'.
      • getLoginTimeout

        public Integer getLoginTimeout()
        Returns the value of field 'loginTimeout'. The field 'loginTimeout' has the following description: How long, in seconds, to attempt to make a connection to the database.
        Returns:
        the value of field 'LoginTimeout'.
      • getMaxPool

        public Integer getMaxPool()
        Returns the value of field 'maxPool'. The field 'maxPool' has the following description: The maximum number of pooled connections to retain.
        Returns:
        the value of field 'MaxPool'.
      • getMaxSize

        public Integer getMaxSize()
        Returns the value of field 'maxSize'. The field 'maxSize' has the following description: The maximum number of connections that can be created.
        Returns:
        the value of field 'MaxSize'.
      • getMinPool

        public Integer getMinPool()
        Returns the value of field 'minPool'. The field 'minPool' has the following description: The minimum number of pooled connections to retain.
        Returns:
        the value of field 'MinPool'.
      • hasIdleTimeout

        public boolean hasIdleTimeout()
        Method hasIdleTimeout.
        Returns:
        true if at least one IdleTimeout has been added
      • hasLoginTimeout

        public boolean hasLoginTimeout()
        Method hasLoginTimeout.
        Returns:
        true if at least one LoginTimeout has been added
      • hasMaxPool

        public boolean hasMaxPool()
        Method hasMaxPool.
        Returns:
        true if at least one MaxPool has been added
      • hasMaxSize

        public boolean hasMaxSize()
        Method hasMaxSize.
        Returns:
        true if at least one MaxSize has been added
      • hasMinPool

        public boolean hasMinPool()
        Method hasMinPool.
        Returns:
        true if at least one MinPool has been added
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object.
      • setFactory

        public void setFactory​(String factory)
        Sets the value of field 'factory'. The field 'factory' has the following description: The connection pool implementation to use.
        Parameters:
        factory - the value of field 'factory'.
      • setIdleTimeout

        public void setIdleTimeout​(Integer idleTimeout)
        Sets the value of field 'idleTimeout'. The field 'idleTimeout' has the following description: How long, in seconds, an idle connection is kept in the pool before it is removed.
        Parameters:
        idleTimeout - the value of field 'idleTimeout'.
      • setLoginTimeout

        public void setLoginTimeout​(Integer loginTimeout)
        Sets the value of field 'loginTimeout'. The field 'loginTimeout' has the following description: How long, in seconds, to attempt to make a connection to the database.
        Parameters:
        loginTimeout - the value of field 'loginTimeout'.
      • setMaxPool

        public void setMaxPool​(Integer maxPool)
        Sets the value of field 'maxPool'. The field 'maxPool' has the following description: The maximum number of pooled connections to retain.
        Parameters:
        maxPool - the value of field 'maxPool'.
      • setMaxSize

        public void setMaxSize​(Integer maxSize)
        Sets the value of field 'maxSize'. The field 'maxSize' has the following description: The maximum number of connections that can be created.
        Parameters:
        maxSize - the value of field 'maxSize'.
      • setMinPool

        public void setMinPool​(Integer minPool)
        Sets the value of field 'minPool'. The field 'minPool' has the following description: The minimum number of pooled connections to retain.
        Parameters:
        minPool - the value of field 'minPool'.