Interface PoolType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    PoolTypeImpl

    public interface PoolType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the poolType xsd type
    • Method Detail

      • minPoolSize

        PoolType<T> minPoolSize​(Integer minPoolSize)
        Sets the min-pool-size element
        Parameters:
        minPoolSize - the value for the element min-pool-size
        Returns:
        the current instance of PoolType
      • getMinPoolSize

        Integer getMinPoolSize()
        Returns the min-pool-size element
        Returns:
        the node defined for the element min-pool-size
      • removeMinPoolSize

        PoolType<T> removeMinPoolSize()
        Removes the min-pool-size element
        Returns:
        the current instance of PoolType
      • initialPoolSize

        PoolType<T> initialPoolSize​(Integer initialPoolSize)
        Sets the initial-pool-size element
        Parameters:
        initialPoolSize - the value for the element initial-pool-size
        Returns:
        the current instance of PoolType
      • getInitialPoolSize

        Integer getInitialPoolSize()
        Returns the initial-pool-size element
        Returns:
        the node defined for the element initial-pool-size
      • removeInitialPoolSize

        PoolType<T> removeInitialPoolSize()
        Removes the initial-pool-size element
        Returns:
        the current instance of PoolType
      • maxPoolSize

        PoolType<T> maxPoolSize​(Integer maxPoolSize)
        Sets the max-pool-size element
        Parameters:
        maxPoolSize - the value for the element max-pool-size
        Returns:
        the current instance of PoolType
      • getMaxPoolSize

        Integer getMaxPoolSize()
        Returns the max-pool-size element
        Returns:
        the node defined for the element max-pool-size
      • removeMaxPoolSize

        PoolType<T> removeMaxPoolSize()
        Removes the max-pool-size element
        Returns:
        the current instance of PoolType
      • prefill

        PoolType<T> prefill​(Boolean prefill)
        Sets the prefill element
        Parameters:
        prefill - the value for the element prefill
        Returns:
        the current instance of PoolType
      • isPrefill

        Boolean isPrefill()
        Returns the prefill element
        Returns:
        the node defined for the element prefill
      • removePrefill

        PoolType<T> removePrefill()
        Removes the prefill element
        Returns:
        the current instance of PoolType
      • useStrictMin

        PoolType<T> useStrictMin​(Boolean useStrictMin)
        Sets the use-strict-min element
        Parameters:
        useStrictMin - the value for the element use-strict-min
        Returns:
        the current instance of PoolType
      • isUseStrictMin

        Boolean isUseStrictMin()
        Returns the use-strict-min element
        Returns:
        the node defined for the element use-strict-min
      • removeUseStrictMin

        PoolType<T> removeUseStrictMin()
        Removes the use-strict-min element
        Returns:
        the current instance of PoolType
      • flushStrategy

        PoolType<T> flushStrategy​(String flushStrategy)
        Sets the flush-strategy element
        Parameters:
        flushStrategy - the value for the element flush-strategy
        Returns:
        the current instance of PoolType
      • getFlushStrategy

        String getFlushStrategy()
        Returns the flush-strategy element
        Returns:
        the node defined for the element flush-strategy
      • removeFlushStrategy

        PoolType<T> removeFlushStrategy()
        Removes the flush-strategy element
        Returns:
        the current instance of PoolType
      • allowMultipleUsers

        PoolType<T> allowMultipleUsers()
        Sets the allow-multiple-users element
        Returns:
        the current instance of PoolType
      • isAllowMultipleUsers

        Boolean isAllowMultipleUsers()
        Removes the allow-multiple-users element
        Returns:
        the current instance of PoolType
      • removeAllowMultipleUsers

        PoolType<T> removeAllowMultipleUsers()
        Removes the allow-multiple-users element
        Returns:
        the current instance of PoolType
      • getOrCreateCapacity

        CapacityType<PoolType<T>> getOrCreateCapacity()
        If not already created, a new capacity element with the given value will be created. Otherwise, the existing capacity element will be returned.
        Returns:
        a new or existing instance of CapacityType>
      • removeCapacity

        PoolType<T> removeCapacity()
        Removes the capacity element
        Returns:
        the current instance of PoolType
      • getOrCreateConnectionListener

        ExtensionType<PoolType<T>> getOrCreateConnectionListener()
        If not already created, a new connection-listener element with the given value will be created. Otherwise, the existing connection-listener element will be returned.
        Returns:
        a new or existing instance of ExtensionType>
      • removeConnectionListener

        PoolType<T> removeConnectionListener()
        Removes the connection-listener element
        Returns:
        the current instance of PoolType