org.jboss.datasources.api
Interface PoolType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
PoolTypeImpl

public interface PoolType<T>
extends Child<T>

This interface defines the contract for the poolType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 PoolType<T> flushStrategy(String flushStrategy)
          Sets the flush-strategy element
 String getFlushStrategy()
          Returns the flush-strategy element
 Integer getMaxPoolSize()
          Returns the max-pool-size element
 Integer getMinPoolSize()
          Returns the min-pool-size element
 Boolean isPrefill()
          Returns the prefill element
 Boolean isUseStrictMin()
          Returns the use-strict-min element
 PoolType<T> maxPoolSize(Integer maxPoolSize)
          Sets the max-pool-size element
 PoolType<T> minPoolSize(Integer minPoolSize)
          Sets the min-pool-size element
 PoolType<T> prefill(Boolean prefill)
          Sets the prefill element
 PoolType<T> removeFlushStrategy()
          Removes the flush-strategy element
 PoolType<T> removeMaxPoolSize()
          Removes the max-pool-size element
 PoolType<T> removeMinPoolSize()
          Removes the min-pool-size element
 PoolType<T> removePrefill()
          Removes the prefill element
 PoolType<T> removeUseStrictMin()
          Removes the use-strict-min element
 PoolType<T> useStrictMin(Boolean useStrictMin)
          Sets the use-strict-min element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

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

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


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.