Class TimeoutTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.datasources12.impl.TimeoutTypeImpl<T>
-
- All Implemented Interfaces:
TimeoutType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class TimeoutTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, TimeoutType<T>
This class implements thetimeoutTypexsd type
-
-
Constructor Summary
Constructors Constructor Description TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeoutType<T>allocationRetry(Integer allocationRetry)Sets theallocation-retryelementTimeoutType<T>allocationRetryWaitMillis(Integer allocationRetryWaitMillis)Sets theallocation-retry-wait-milliselementTimeoutType<T>blockingTimeoutMillis(Integer blockingTimeoutMillis)Sets theblocking-timeout-milliselementIntegergetAllocationRetry()Returns theallocation-retryelementIntegergetAllocationRetryWaitMillis()Returns theallocation-retry-wait-milliselementIntegergetBlockingTimeoutMillis()Returns theblocking-timeout-milliselementIntegergetIdleTimeoutMinutes()Returns theidle-timeout-minuteselementIntegergetQueryTimeout()Returns thequery-timeoutelementIntegergetUseTryLock()Returns theuse-try-lockelementStringgetXaResourceTimeout()Returns thexa-resource-timeoutelementTimeoutType<T>idleTimeoutMinutes(Integer idleTimeoutMinutes)Sets theidle-timeout-minuteselementBooleanisSetTxQueryTimeout()Removes theset-tx-query-timeoutelementTimeoutType<T>queryTimeout(Integer queryTimeout)Sets thequery-timeoutelementTimeoutType<T>removeAllocationRetry()Removes theallocation-retryelementTimeoutType<T>removeAllocationRetryWaitMillis()Removes theallocation-retry-wait-milliselementTimeoutType<T>removeBlockingTimeoutMillis()Removes theblocking-timeout-milliselementTimeoutType<T>removeIdleTimeoutMinutes()Removes theidle-timeout-minuteselementTimeoutType<T>removeQueryTimeout()Removes thequery-timeoutelementTimeoutType<T>removeSetTxQueryTimeout()Removes theset-tx-query-timeoutelementTimeoutType<T>removeUseTryLock()Removes theuse-try-lockelementTimeoutType<T>removeXaResourceTimeout()Removes thexa-resource-timeoutelementTimeoutType<T>setTxQueryTimeout()Sets theset-tx-query-timeoutelementTup()TimeoutType<T>useTryLock(Integer useTryLock)Sets theuse-try-lockelementTimeoutType<T>xaResourceTimeout(String xaResourceTimeout)Sets thexa-resource-timeoutelement
-
-
-
Method Detail
-
blockingTimeoutMillis
public TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
Sets theblocking-timeout-milliselement- Specified by:
blockingTimeoutMillisin interfaceTimeoutType<T>- Parameters:
blockingTimeoutMillis- the value for the elementblocking-timeout-millis- Returns:
- the current instance of
TimeoutType
-
getBlockingTimeoutMillis
public Integer getBlockingTimeoutMillis()
Returns theblocking-timeout-milliselement- Specified by:
getBlockingTimeoutMillisin interfaceTimeoutType<T>- Returns:
- the node defined for the element
blocking-timeout-millis
-
removeBlockingTimeoutMillis
public TimeoutType<T> removeBlockingTimeoutMillis()
Removes theblocking-timeout-milliselement- Specified by:
removeBlockingTimeoutMillisin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
idleTimeoutMinutes
public TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
Sets theidle-timeout-minuteselement- Specified by:
idleTimeoutMinutesin interfaceTimeoutType<T>- Parameters:
idleTimeoutMinutes- the value for the elementidle-timeout-minutes- Returns:
- the current instance of
TimeoutType
-
getIdleTimeoutMinutes
public Integer getIdleTimeoutMinutes()
Returns theidle-timeout-minuteselement- Specified by:
getIdleTimeoutMinutesin interfaceTimeoutType<T>- Returns:
- the node defined for the element
idle-timeout-minutes
-
removeIdleTimeoutMinutes
public TimeoutType<T> removeIdleTimeoutMinutes()
Removes theidle-timeout-minuteselement- Specified by:
removeIdleTimeoutMinutesin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
setTxQueryTimeout
public TimeoutType<T> setTxQueryTimeout()
Sets theset-tx-query-timeoutelement- Specified by:
setTxQueryTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
isSetTxQueryTimeout
public Boolean isSetTxQueryTimeout()
Removes theset-tx-query-timeoutelement- Specified by:
isSetTxQueryTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
removeSetTxQueryTimeout
public TimeoutType<T> removeSetTxQueryTimeout()
Removes theset-tx-query-timeoutelement- Specified by:
removeSetTxQueryTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
queryTimeout
public TimeoutType<T> queryTimeout(Integer queryTimeout)
Sets thequery-timeoutelement- Specified by:
queryTimeoutin interfaceTimeoutType<T>- Parameters:
queryTimeout- the value for the elementquery-timeout- Returns:
- the current instance of
TimeoutType
-
getQueryTimeout
public Integer getQueryTimeout()
Returns thequery-timeoutelement- Specified by:
getQueryTimeoutin interfaceTimeoutType<T>- Returns:
- the node defined for the element
query-timeout
-
removeQueryTimeout
public TimeoutType<T> removeQueryTimeout()
Removes thequery-timeoutelement- Specified by:
removeQueryTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
useTryLock
public TimeoutType<T> useTryLock(Integer useTryLock)
Sets theuse-try-lockelement- Specified by:
useTryLockin interfaceTimeoutType<T>- Parameters:
useTryLock- the value for the elementuse-try-lock- Returns:
- the current instance of
TimeoutType
-
getUseTryLock
public Integer getUseTryLock()
Returns theuse-try-lockelement- Specified by:
getUseTryLockin interfaceTimeoutType<T>- Returns:
- the node defined for the element
use-try-lock
-
removeUseTryLock
public TimeoutType<T> removeUseTryLock()
Removes theuse-try-lockelement- Specified by:
removeUseTryLockin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
allocationRetry
public TimeoutType<T> allocationRetry(Integer allocationRetry)
Sets theallocation-retryelement- Specified by:
allocationRetryin interfaceTimeoutType<T>- Parameters:
allocationRetry- the value for the elementallocation-retry- Returns:
- the current instance of
TimeoutType
-
getAllocationRetry
public Integer getAllocationRetry()
Returns theallocation-retryelement- Specified by:
getAllocationRetryin interfaceTimeoutType<T>- Returns:
- the node defined for the element
allocation-retry
-
removeAllocationRetry
public TimeoutType<T> removeAllocationRetry()
Removes theallocation-retryelement- Specified by:
removeAllocationRetryin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
allocationRetryWaitMillis
public TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
Sets theallocation-retry-wait-milliselement- Specified by:
allocationRetryWaitMillisin interfaceTimeoutType<T>- Parameters:
allocationRetryWaitMillis- the value for the elementallocation-retry-wait-millis- Returns:
- the current instance of
TimeoutType
-
getAllocationRetryWaitMillis
public Integer getAllocationRetryWaitMillis()
Returns theallocation-retry-wait-milliselement- Specified by:
getAllocationRetryWaitMillisin interfaceTimeoutType<T>- Returns:
- the node defined for the element
allocation-retry-wait-millis
-
removeAllocationRetryWaitMillis
public TimeoutType<T> removeAllocationRetryWaitMillis()
Removes theallocation-retry-wait-milliselement- Specified by:
removeAllocationRetryWaitMillisin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
xaResourceTimeout
public TimeoutType<T> xaResourceTimeout(String xaResourceTimeout)
Sets thexa-resource-timeoutelement- Specified by:
xaResourceTimeoutin interfaceTimeoutType<T>- Parameters:
xaResourceTimeout- the value for the elementxa-resource-timeout- Returns:
- the current instance of
TimeoutType
-
getXaResourceTimeout
public String getXaResourceTimeout()
Returns thexa-resource-timeoutelement- Specified by:
getXaResourceTimeoutin interfaceTimeoutType<T>- Returns:
- the node defined for the element
xa-resource-timeout
-
removeXaResourceTimeout
public TimeoutType<T> removeXaResourceTimeout()
Removes thexa-resource-timeoutelement- Specified by:
removeXaResourceTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
-