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,org.jboss.jca.common.api.metadata.common.TimeOut,org.jboss.jca.common.api.metadata.ds.TimeOut,org.jboss.jca.common.api.metadata.JCAMetadata,org.jboss.jca.common.api.metadata.ValidatableMetadata
public class TimeOutImpl
extends TimeOutImpl
implements org.jboss.jca.common.api.metadata.ds.TimeOut
A TimeOutImpl.
- Author:
- Stefano Maestri
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.TimeOut
org.jboss.jca.common.api.metadata.common.TimeOut.TagNested 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.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 org.jboss.jca.common.api.validator.ValidateException Create a new TimeOutImpl.- Parameters:
blockingTimeoutMillis- blockingTimeoutMillisidleTimeoutMinutes- idleTimeoutMinutesallocationRetry- allocationRetryallocationRetryWaitMillis- allocationRetryWaitMillisxaResourceTimeout- xaResourceTimeoutsetTxQueryTimeout- setTxQueryTimeoutqueryTimeout- queryTimeoutuseTryLock- useTryLock- Throws:
org.jboss.jca.common.api.validator.ValidateException- ValidateException
-
-
Method Details
-
isSetTxQueryTimeout
Get the setTxQuertTimeout.- Specified by:
isSetTxQueryTimeoutin interfaceorg.jboss.jca.common.api.metadata.ds.TimeOut- Returns:
- the setTxQuertTimeout.
-
getQueryTimeout
Get the queryTimeout.- Specified by:
getQueryTimeoutin interfaceorg.jboss.jca.common.api.metadata.ds.TimeOut- Returns:
- the queryTimeout.
-
getUseTryLock
Get the useTryLock.- Specified by:
getUseTryLockin interfaceorg.jboss.jca.common.api.metadata.ds.TimeOut- 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
public void validate() throws org.jboss.jca.common.api.validator.ValidateException- Specified by:
validatein interfaceorg.jboss.jca.common.api.metadata.ValidatableMetadata- Throws:
org.jboss.jca.common.api.validator.ValidateException
-