Package org.jboss.jca.common.metadata.ds
Class TimeOutImpl
java.lang.Object
org.jboss.jca.common.metadata.common.TimeOutImpl
org.jboss.jca.common.metadata.ds.TimeOutImpl
- All Implemented Interfaces:
Serializable,TimeOut,TimeOut,JCAMetadata,ValidatableMetadata
A TimeOutImpl.
- Author:
- Stefano Maestri
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.TimeOut
TimeOut.TagNested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.TimeOut
TimeOut.Tag -
Field Summary
Fields inherited from class org.jboss.jca.common.metadata.common.TimeOutImpl
allocationRetry, allocationRetryWaitMillis, blockingTimeoutMillis, idleTimeoutMinutes, xaResourceTimeout -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.jca.common.metadata.common.TimeOutImpl
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeoutMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.jca.common.api.metadata.common.TimeOut
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
-
Constructor Details
-
TimeOutImpl
public TimeOutImpl(Long blockingTimeoutMillis, Long idleTimeoutMinutes, Integer allocationRetry, Long allocationRetryWaitMillis, Integer xaResourceTimeout, Boolean setTxQueryTimeout, Long queryTimeout, Long useTryLock) throws ValidateException Create a new TimeOutImpl.- Parameters:
blockingTimeoutMillis- blockingTimeoutMillisidleTimeoutMinutes- idleTimeoutMinutesallocationRetry- allocationRetryallocationRetryWaitMillis- allocationRetryWaitMillisxaResourceTimeout- xaResourceTimeoutsetTxQueryTimeout- setTxQueryTimeoutqueryTimeout- queryTimeoutuseTryLock- useTryLock- Throws:
ValidateException- ValidateException
-
-
Method Details
-
isSetTxQueryTimeout
Get the setTxQuertTimeout.- Specified by:
isSetTxQueryTimeoutin interfaceTimeOut- Returns:
- the setTxQuertTimeout.
-
getQueryTimeout
Get the queryTimeout.- Specified by:
getQueryTimeoutin interfaceTimeOut- Returns:
- the queryTimeout.
-
getUseTryLock
Get the useTryLock.- Specified by:
getUseTryLockin interfaceTimeOut- Returns:
- the useTryLock.
-
hashCode
public int hashCode()Description copied from class:TimeOutImpl- Overrides:
hashCodein classTimeOutImpl
-
equals
Description copied from class:TimeOutImpl- Overrides:
equalsin classTimeOutImpl
-
toString
Description copied from class:TimeOutImpl- Overrides:
toStringin classTimeOutImpl
-
validate
- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException
-