Interface TimeoutType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
TimeoutTypeImpl
public interface TimeoutType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thetimeoutTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-timeoutelementTimeoutType<T>useTryLock(Integer useTryLock)Sets theuse-try-lockelementTimeoutType<T>xaResourceTimeout(String xaResourceTimeout)Sets thexa-resource-timeoutelement
-
-
-
Method Detail
-
blockingTimeoutMillis
TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
Sets theblocking-timeout-milliselement- Parameters:
blockingTimeoutMillis- the value for the elementblocking-timeout-millis- Returns:
- the current instance of
TimeoutType
-
getBlockingTimeoutMillis
Integer getBlockingTimeoutMillis()
Returns theblocking-timeout-milliselement- Returns:
- the node defined for the element
blocking-timeout-millis
-
removeBlockingTimeoutMillis
TimeoutType<T> removeBlockingTimeoutMillis()
Removes theblocking-timeout-milliselement- Returns:
- the current instance of
TimeoutType
-
idleTimeoutMinutes
TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
Sets theidle-timeout-minuteselement- Parameters:
idleTimeoutMinutes- the value for the elementidle-timeout-minutes- Returns:
- the current instance of
TimeoutType
-
getIdleTimeoutMinutes
Integer getIdleTimeoutMinutes()
Returns theidle-timeout-minuteselement- Returns:
- the node defined for the element
idle-timeout-minutes
-
removeIdleTimeoutMinutes
TimeoutType<T> removeIdleTimeoutMinutes()
Removes theidle-timeout-minuteselement- Returns:
- the current instance of
TimeoutType
-
setTxQueryTimeout
TimeoutType<T> setTxQueryTimeout()
Sets theset-tx-query-timeoutelement- Returns:
- the current instance of
TimeoutType
-
isSetTxQueryTimeout
Boolean isSetTxQueryTimeout()
Removes theset-tx-query-timeoutelement- Returns:
- the current instance of
TimeoutType
-
removeSetTxQueryTimeout
TimeoutType<T> removeSetTxQueryTimeout()
Removes theset-tx-query-timeoutelement- Returns:
- the current instance of
TimeoutType
-
queryTimeout
TimeoutType<T> queryTimeout(Integer queryTimeout)
Sets thequery-timeoutelement- Parameters:
queryTimeout- the value for the elementquery-timeout- Returns:
- the current instance of
TimeoutType
-
getQueryTimeout
Integer getQueryTimeout()
Returns thequery-timeoutelement- Returns:
- the node defined for the element
query-timeout
-
removeQueryTimeout
TimeoutType<T> removeQueryTimeout()
Removes thequery-timeoutelement- Returns:
- the current instance of
TimeoutType
-
useTryLock
TimeoutType<T> useTryLock(Integer useTryLock)
Sets theuse-try-lockelement- Parameters:
useTryLock- the value for the elementuse-try-lock- Returns:
- the current instance of
TimeoutType
-
getUseTryLock
Integer getUseTryLock()
Returns theuse-try-lockelement- Returns:
- the node defined for the element
use-try-lock
-
removeUseTryLock
TimeoutType<T> removeUseTryLock()
Removes theuse-try-lockelement- Returns:
- the current instance of
TimeoutType
-
allocationRetry
TimeoutType<T> allocationRetry(Integer allocationRetry)
Sets theallocation-retryelement- Parameters:
allocationRetry- the value for the elementallocation-retry- Returns:
- the current instance of
TimeoutType
-
getAllocationRetry
Integer getAllocationRetry()
Returns theallocation-retryelement- Returns:
- the node defined for the element
allocation-retry
-
removeAllocationRetry
TimeoutType<T> removeAllocationRetry()
Removes theallocation-retryelement- Returns:
- the current instance of
TimeoutType
-
allocationRetryWaitMillis
TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
Sets theallocation-retry-wait-milliselement- Parameters:
allocationRetryWaitMillis- the value for the elementallocation-retry-wait-millis- Returns:
- the current instance of
TimeoutType
-
getAllocationRetryWaitMillis
Integer getAllocationRetryWaitMillis()
Returns theallocation-retry-wait-milliselement- Returns:
- the node defined for the element
allocation-retry-wait-millis
-
removeAllocationRetryWaitMillis
TimeoutType<T> removeAllocationRetryWaitMillis()
Removes theallocation-retry-wait-milliselement- Returns:
- the current instance of
TimeoutType
-
xaResourceTimeout
TimeoutType<T> xaResourceTimeout(String xaResourceTimeout)
Sets thexa-resource-timeoutelement- Parameters:
xaResourceTimeout- the value for the elementxa-resource-timeout- Returns:
- the current instance of
TimeoutType
-
getXaResourceTimeout
String getXaResourceTimeout()
Returns thexa-resource-timeoutelement- Returns:
- the node defined for the element
xa-resource-timeout
-
removeXaResourceTimeout
TimeoutType<T> removeXaResourceTimeout()
Removes thexa-resource-timeoutelement- Returns:
- the current instance of
TimeoutType
-
-