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-minuteselementIntegergetXaResourceTimeout()Returns thexa-resource-timeoutelementTimeoutType<T>idleTimeoutMinutes(Integer idleTimeoutMinutes)Sets theidle-timeout-minuteselementTimeoutType<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>removeXaResourceTimeout()Removes thexa-resource-timeoutelementTimeoutType<T>xaResourceTimeout(Integer 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
-
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(Integer xaResourceTimeout)
Sets thexa-resource-timeoutelement- Parameters:
xaResourceTimeout- the value for the elementxa-resource-timeout- Returns:
- the current instance of
TimeoutType
-
getXaResourceTimeout
Integer 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
-
-