public class TimeOutImpl extends CommonTimeOutImpl implements TimeOut
TimeOut.Tag
allocationRetry, allocationRetryWaitMillis, blockingTimeoutMillis, idleTimeoutMinutes, xaResourceTimeout
Constructor and Description |
---|
TimeOutImpl(java.lang.Long blockingTimeoutMillis,
java.lang.Long idleTimeoutMinutes,
java.lang.Integer allocationRetry,
java.lang.Long allocationRetryWaitMillis,
java.lang.Integer xaResourceTimeout,
java.lang.Boolean setTxQueryTimeout,
java.lang.Long queryTimeout,
java.lang.Long useTryLock)
Create a new TimeOutImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getQueryTimeout()
Get the queryTimeout.
|
java.lang.Long |
getUseTryLock()
Get the useTryLock.
|
int |
hashCode() |
java.lang.Boolean |
isSetTxQueryTimeout()
Get the setTxQuertTimeout.
|
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout
public TimeOutImpl(java.lang.Long blockingTimeoutMillis, java.lang.Long idleTimeoutMinutes, java.lang.Integer allocationRetry, java.lang.Long allocationRetryWaitMillis, java.lang.Integer xaResourceTimeout, java.lang.Boolean setTxQueryTimeout, java.lang.Long queryTimeout, java.lang.Long useTryLock) throws ValidateException
blockingTimeoutMillis
- blockingTimeoutMillisidleTimeoutMinutes
- idleTimeoutMinutesallocationRetry
- allocationRetryallocationRetryWaitMillis
- allocationRetryWaitMillisxaResourceTimeout
- xaResourceTimeoutsetTxQueryTimeout
- setTxQueryTimeoutqueryTimeout
- queryTimeoutuseTryLock
- useTryLockValidateException
- ValidateExceptionpublic final java.lang.Boolean isSetTxQueryTimeout()
isSetTxQueryTimeout
in interface TimeOut
public final java.lang.Long getQueryTimeout()
getQueryTimeout
in interface TimeOut
public final java.lang.Long getUseTryLock()
getUseTryLock
in interface TimeOut
public int hashCode()
hashCode
in class CommonTimeOutImpl
public boolean equals(java.lang.Object obj)
equals
in class CommonTimeOutImpl
public java.lang.String toString()
toString
in class CommonTimeOutImpl
public void validate() throws ValidateException
ValidatableMetadata
validate
in interface ValidatableMetadata
ValidateException
- in case of validation failCopyright © 2013 IronJacamar (http://www.ironjacamar.org)