org.jboss.jca.common.metadata.ds
Class TimeOutImpl
java.lang.Object
org.jboss.jca.common.metadata.common.CommonTimeOutImpl
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, org.jboss.jca.common.api.metadata.ValidatableMetadata
public class TimeOutImpl
- extends CommonTimeOutImpl
- implements org.jboss.jca.common.api.metadata.ds.TimeOut
A TimeOutImpl.
- Author:
- Stefano Maestri
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.TimeOut |
org.jboss.jca.common.api.metadata.ds.TimeOut.Tag |
| Methods inherited from interface org.jboss.jca.common.api.metadata.common.CommonTimeOut |
getAllocationRetry, getAllocationRetryWaitMillis, getBlockingTimeoutMillis, getIdleTimeoutMinutes, getXaResourceTimeout |
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
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
validate
public void validate()
throws org.jboss.jca.common.api.validator.ValidateException
- Specified by:
validate in interface org.jboss.jca.common.api.metadata.ValidatableMetadata
- Throws:
org.jboss.jca.common.api.validator.ValidateException
Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)