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
public class TimeOutImpl extends TimeOutImpl implements 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.common.TimeOut
TimeOut.Tag
-
Nested 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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LonggetQueryTimeout()Get the queryTimeout.LonggetUseTryLock()Get the useTryLock.inthashCode()BooleanisSetTxQueryTimeout()Get the setTxQuertTimeout.StringtoString()voidvalidate()-
Methods inherited from class org.jboss.jca.common.metadata.common.TimeOutImpl
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.TimeOut
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
-
-
-
-
Constructor Detail
-
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 Detail
-
isSetTxQueryTimeout
public final Boolean isSetTxQueryTimeout()
Get the setTxQuertTimeout.- Specified by:
isSetTxQueryTimeoutin interfaceTimeOut- Returns:
- the setTxQuertTimeout.
-
getQueryTimeout
public final Long getQueryTimeout()
Get the queryTimeout.- Specified by:
getQueryTimeoutin interfaceTimeOut- Returns:
- the queryTimeout.
-
getUseTryLock
public final Long getUseTryLock()
Get the useTryLock.- Specified by:
getUseTryLockin interfaceTimeOut- Returns:
- the useTryLock.
-
hashCode
public int hashCode()
Description copied from class:TimeOutImpl- Overrides:
hashCodein classTimeOutImpl
-
equals
public boolean equals(Object obj)
Description copied from class:TimeOutImpl- Overrides:
equalsin classTimeOutImpl
-
toString
public String toString()
Description copied from class:TimeOutImpl- Overrides:
toStringin classTimeOutImpl
-
validate
public void validate() throws ValidateException- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException
-
-