Class TimeoutTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources13.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 the timeoutType xsd type
  • Constructor Details

    • TimeoutTypeImpl

      public TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • TimeoutTypeImpl

      public TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • blockingTimeoutMillis

      public TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
      Sets the blocking-timeout-millis element
      Specified by:
      blockingTimeoutMillis in interface TimeoutType<T>
      Parameters:
      blockingTimeoutMillis - the value for the element blocking-timeout-millis
      Returns:
      the current instance of TimeoutType
    • getBlockingTimeoutMillis

      public Integer getBlockingTimeoutMillis()
      Returns the blocking-timeout-millis element
      Specified by:
      getBlockingTimeoutMillis in interface TimeoutType<T>
      Returns:
      the node defined for the element blocking-timeout-millis
    • removeBlockingTimeoutMillis

      public TimeoutType<T> removeBlockingTimeoutMillis()
      Removes the blocking-timeout-millis element
      Specified by:
      removeBlockingTimeoutMillis in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • idleTimeoutMinutes

      public TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
      Sets the idle-timeout-minutes element
      Specified by:
      idleTimeoutMinutes in interface TimeoutType<T>
      Parameters:
      idleTimeoutMinutes - the value for the element idle-timeout-minutes
      Returns:
      the current instance of TimeoutType
    • getIdleTimeoutMinutes

      public Integer getIdleTimeoutMinutes()
      Returns the idle-timeout-minutes element
      Specified by:
      getIdleTimeoutMinutes in interface TimeoutType<T>
      Returns:
      the node defined for the element idle-timeout-minutes
    • removeIdleTimeoutMinutes

      public TimeoutType<T> removeIdleTimeoutMinutes()
      Removes the idle-timeout-minutes element
      Specified by:
      removeIdleTimeoutMinutes in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • setTxQueryTimeout

      public TimeoutType<T> setTxQueryTimeout()
      Sets the set-tx-query-timeout element
      Specified by:
      setTxQueryTimeout in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • isSetTxQueryTimeout

      public Boolean isSetTxQueryTimeout()
      Removes the set-tx-query-timeout element
      Specified by:
      isSetTxQueryTimeout in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • removeSetTxQueryTimeout

      public TimeoutType<T> removeSetTxQueryTimeout()
      Removes the set-tx-query-timeout element
      Specified by:
      removeSetTxQueryTimeout in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • queryTimeout

      public TimeoutType<T> queryTimeout(Integer queryTimeout)
      Sets the query-timeout element
      Specified by:
      queryTimeout in interface TimeoutType<T>
      Parameters:
      queryTimeout - the value for the element query-timeout
      Returns:
      the current instance of TimeoutType
    • getQueryTimeout

      public Integer getQueryTimeout()
      Returns the query-timeout element
      Specified by:
      getQueryTimeout in interface TimeoutType<T>
      Returns:
      the node defined for the element query-timeout
    • removeQueryTimeout

      public TimeoutType<T> removeQueryTimeout()
      Removes the query-timeout element
      Specified by:
      removeQueryTimeout in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • useTryLock

      public TimeoutType<T> useTryLock(Integer useTryLock)
      Sets the use-try-lock element
      Specified by:
      useTryLock in interface TimeoutType<T>
      Parameters:
      useTryLock - the value for the element use-try-lock
      Returns:
      the current instance of TimeoutType
    • getUseTryLock

      public Integer getUseTryLock()
      Returns the use-try-lock element
      Specified by:
      getUseTryLock in interface TimeoutType<T>
      Returns:
      the node defined for the element use-try-lock
    • removeUseTryLock

      public TimeoutType<T> removeUseTryLock()
      Removes the use-try-lock element
      Specified by:
      removeUseTryLock in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • allocationRetry

      public TimeoutType<T> allocationRetry(Integer allocationRetry)
      Sets the allocation-retry element
      Specified by:
      allocationRetry in interface TimeoutType<T>
      Parameters:
      allocationRetry - the value for the element allocation-retry
      Returns:
      the current instance of TimeoutType
    • getAllocationRetry

      public Integer getAllocationRetry()
      Returns the allocation-retry element
      Specified by:
      getAllocationRetry in interface TimeoutType<T>
      Returns:
      the node defined for the element allocation-retry
    • removeAllocationRetry

      public TimeoutType<T> removeAllocationRetry()
      Removes the allocation-retry element
      Specified by:
      removeAllocationRetry in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • allocationRetryWaitMillis

      public TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
      Sets the allocation-retry-wait-millis element
      Specified by:
      allocationRetryWaitMillis in interface TimeoutType<T>
      Parameters:
      allocationRetryWaitMillis - the value for the element allocation-retry-wait-millis
      Returns:
      the current instance of TimeoutType
    • getAllocationRetryWaitMillis

      public Integer getAllocationRetryWaitMillis()
      Returns the allocation-retry-wait-millis element
      Specified by:
      getAllocationRetryWaitMillis in interface TimeoutType<T>
      Returns:
      the node defined for the element allocation-retry-wait-millis
    • removeAllocationRetryWaitMillis

      public TimeoutType<T> removeAllocationRetryWaitMillis()
      Removes the allocation-retry-wait-millis element
      Specified by:
      removeAllocationRetryWaitMillis in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType
    • xaResourceTimeout

      public TimeoutType<T> xaResourceTimeout(String xaResourceTimeout)
      Sets the xa-resource-timeout element
      Specified by:
      xaResourceTimeout in interface TimeoutType<T>
      Parameters:
      xaResourceTimeout - the value for the element xa-resource-timeout
      Returns:
      the current instance of TimeoutType
    • getXaResourceTimeout

      public String getXaResourceTimeout()
      Returns the xa-resource-timeout element
      Specified by:
      getXaResourceTimeout in interface TimeoutType<T>
      Returns:
      the node defined for the element xa-resource-timeout
    • removeXaResourceTimeout

      public TimeoutType<T> removeXaResourceTimeout()
      Removes the xa-resource-timeout element
      Specified by:
      removeXaResourceTimeout in interface TimeoutType<T>
      Returns:
      the current instance of TimeoutType