public class TimeoutTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, TimeoutType<T>
timeoutType
xsd typeConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
TimeoutType<T> |
allocationRetry(Integer allocationRetry)
Sets the
allocation-retry element |
TimeoutType<T> |
allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
Sets the
allocation-retry-wait-millis element |
TimeoutType<T> |
blockingTimeoutMillis(Integer blockingTimeoutMillis)
Sets the
blocking-timeout-millis element |
Integer |
getAllocationRetry()
Returns the
allocation-retry element |
Integer |
getAllocationRetryWaitMillis()
Returns the
allocation-retry-wait-millis element |
Integer |
getBlockingTimeoutMillis()
Returns the
blocking-timeout-millis element |
Integer |
getIdleTimeoutMinutes()
Returns the
idle-timeout-minutes element |
Integer |
getXaResourceTimeout()
Returns the
xa-resource-timeout element |
TimeoutType<T> |
idleTimeoutMinutes(Integer idleTimeoutMinutes)
Sets the
idle-timeout-minutes element |
TimeoutType<T> |
removeAllocationRetry()
Removes the
allocation-retry element |
TimeoutType<T> |
removeAllocationRetryWaitMillis()
Removes the
allocation-retry-wait-millis element |
TimeoutType<T> |
removeBlockingTimeoutMillis()
Removes the
blocking-timeout-millis element |
TimeoutType<T> |
removeIdleTimeoutMinutes()
Removes the
idle-timeout-minutes element |
TimeoutType<T> |
removeXaResourceTimeout()
Removes the
xa-resource-timeout element |
T |
up() |
TimeoutType<T> |
xaResourceTimeout(Integer xaResourceTimeout)
Sets the
xa-resource-timeout element |
public TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
blocking-timeout-millis
elementblockingTimeoutMillis
in interface TimeoutType<T>
blockingTimeoutMillis
- the value for the element blocking-timeout-millis
TimeoutType
public Integer getBlockingTimeoutMillis()
blocking-timeout-millis
elementgetBlockingTimeoutMillis
in interface TimeoutType<T>
blocking-timeout-millis
public TimeoutType<T> removeBlockingTimeoutMillis()
blocking-timeout-millis
elementremoveBlockingTimeoutMillis
in interface TimeoutType<T>
TimeoutType
public TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
idle-timeout-minutes
elementidleTimeoutMinutes
in interface TimeoutType<T>
idleTimeoutMinutes
- the value for the element idle-timeout-minutes
TimeoutType
public Integer getIdleTimeoutMinutes()
idle-timeout-minutes
elementgetIdleTimeoutMinutes
in interface TimeoutType<T>
idle-timeout-minutes
public TimeoutType<T> removeIdleTimeoutMinutes()
idle-timeout-minutes
elementremoveIdleTimeoutMinutes
in interface TimeoutType<T>
TimeoutType
public TimeoutType<T> allocationRetry(Integer allocationRetry)
allocation-retry
elementallocationRetry
in interface TimeoutType<T>
allocationRetry
- the value for the element allocation-retry
TimeoutType
public Integer getAllocationRetry()
allocation-retry
elementgetAllocationRetry
in interface TimeoutType<T>
allocation-retry
public TimeoutType<T> removeAllocationRetry()
allocation-retry
elementremoveAllocationRetry
in interface TimeoutType<T>
TimeoutType
public TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
allocation-retry-wait-millis
elementallocationRetryWaitMillis
in interface TimeoutType<T>
allocationRetryWaitMillis
- the value for the element allocation-retry-wait-millis
TimeoutType
public Integer getAllocationRetryWaitMillis()
allocation-retry-wait-millis
elementgetAllocationRetryWaitMillis
in interface TimeoutType<T>
allocation-retry-wait-millis
public TimeoutType<T> removeAllocationRetryWaitMillis()
allocation-retry-wait-millis
elementremoveAllocationRetryWaitMillis
in interface TimeoutType<T>
TimeoutType
public TimeoutType<T> xaResourceTimeout(Integer xaResourceTimeout)
xa-resource-timeout
elementxaResourceTimeout
in interface TimeoutType<T>
xaResourceTimeout
- the value for the element xa-resource-timeout
TimeoutType
public Integer getXaResourceTimeout()
xa-resource-timeout
elementgetXaResourceTimeout
in interface TimeoutType<T>
xa-resource-timeout
public TimeoutType<T> removeXaResourceTimeout()
xa-resource-timeout
elementremoveXaResourceTimeout
in interface TimeoutType<T>
TimeoutType
Copyright © 2017 JBoss by Red Hat. All rights reserved.