org.jboss.jca.common.metadata.ds
Class TimeOutImpl

java.lang.Object
  extended by org.jboss.jca.common.metadata.common.CommonTimeOutImpl
      extended by org.jboss.jca.common.metadata.ds.TimeOutImpl
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.common.CommonTimeOut, org.jboss.jca.common.api.metadata.ds.TimeOut, org.jboss.jca.common.api.metadata.JCAMetadata

public class TimeOutImpl
extends CommonTimeOutImpl
implements org.jboss.jca.common.api.metadata.ds.TimeOut

A TimeOutImpl.

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.TimeOut
org.jboss.jca.common.api.metadata.ds.TimeOut.Tag
 
Field Summary
 
Fields inherited from class org.jboss.jca.common.metadata.common.CommonTimeOutImpl
allocationRetry, allocationRetryWaitMillis, blockingTimeoutMillis, idleTimeoutMinutes, xaResourceTimeout
 
Constructor Summary
TimeOutImpl(Long blockingTimeoutMillis, Long idleTimeoutMinutes, Integer allocationRetry, Long allocationRetryWaitMillis, Integer xaResourceTimeout, Boolean setTxQuertTimeout, Long queryTimeout, Long useTryLock)
          Create a new TimeOutImpl.
 
Method Summary
 boolean equals(Object obj)
           
 Long getQueryTimeout()
          Get the queryTimeout.
 Long getUseTryLock()
          Get the useTryLock.
 int hashCode()
           
 Boolean isSetTxQueryTimeout()
          Get the setTxQuertTimeout.
 String toString()
           
 
Methods inherited from class org.jboss.jca.common.metadata.common.CommonTimeOutImpl
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
 

Constructor Detail

TimeOutImpl

public TimeOutImpl(Long blockingTimeoutMillis,
                   Long idleTimeoutMinutes,
                   Integer allocationRetry,
                   Long allocationRetryWaitMillis,
                   Integer xaResourceTimeout,
                   Boolean setTxQuertTimeout,
                   Long queryTimeout,
                   Long useTryLock)
Create a new TimeOutImpl.

Parameters:
blockingTimeoutMillis - blockingTimeoutMillis
idleTimeoutMinutes - idleTimeoutMinutes
allocationRetry - allocationRetry
allocationRetryWaitMillis - allocationRetryWaitMillis
xaResourceTimeout - xaResourceTimeout
setTxQuertTimeout - setTxQuertTimeout
queryTimeout - queryTimeout
useTryLock - useTryLock
Method Detail

isSetTxQueryTimeout

public final Boolean isSetTxQueryTimeout()
Get the setTxQuertTimeout.

Specified by:
isSetTxQueryTimeout in interface org.jboss.jca.common.api.metadata.ds.TimeOut
Returns:
the setTxQuertTimeout.

getQueryTimeout

public final Long getQueryTimeout()
Get the queryTimeout.

Specified by:
getQueryTimeout in interface org.jboss.jca.common.api.metadata.ds.TimeOut
Returns:
the queryTimeout.

getUseTryLock

public final Long getUseTryLock()
Get the useTryLock.

Specified by:
getUseTryLock in interface org.jboss.jca.common.api.metadata.ds.TimeOut
Returns:
the useTryLock.

hashCode

public int hashCode()
Overrides:
hashCode in class CommonTimeOutImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class CommonTimeOutImpl

toString

public String toString()
Overrides:
toString in class CommonTimeOutImpl


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)