org.jboss.jca.common.metadata.common
Class CommonTimeOutImpl

java.lang.Object
  extended by org.jboss.jca.common.metadata.common.CommonTimeOutImpl
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.common.CommonTimeOut, org.jboss.jca.common.api.metadata.JCAMetadata
Direct Known Subclasses:
TimeOutImpl

public class CommonTimeOutImpl
extends Object
implements org.jboss.jca.common.api.metadata.common.CommonTimeOut

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.CommonTimeOut
org.jboss.jca.common.api.metadata.common.CommonTimeOut.Tag
 
Field Summary
protected  Integer allocationRetry
          allocationRetry
protected  Long allocationRetryWaitMillis
          allocationRetryWaitMillis
protected  Long blockingTimeoutMillis
          blockingTimeoutMillis
protected  Long idleTimeoutMinutes
          idleTimeoutMinutes
protected  Integer xaResourceTimeout
          xaResourceTimeout
 
Constructor Summary
CommonTimeOutImpl(Long blockingTimeoutMillis, Long idleTimeoutMinutes, Integer allocationRetry, Long allocationRetryWaitMillis, Integer xaResourceTimeout)
          Create a new STimeOutImpl.
 
Method Summary
 boolean equals(Object obj)
           
 Integer getAllocationRetry()
          Get the allocationRetry.
 Long getAllocationRetryWaitMillis()
          Get the allocationRetryWaitMillis.
 Long getBlockingTimeoutMillis()
          Get the blockingTimeoutMillis.
 Long getIdleTimeoutMinutes()
          Get the idleTimeoutMinutes.
 Integer getXaResourceTimeout()
          Get the xaResourceTimeout.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

blockingTimeoutMillis

protected final Long blockingTimeoutMillis
blockingTimeoutMillis


idleTimeoutMinutes

protected final Long idleTimeoutMinutes
idleTimeoutMinutes


allocationRetry

protected final Integer allocationRetry
allocationRetry


allocationRetryWaitMillis

protected final Long allocationRetryWaitMillis
allocationRetryWaitMillis


xaResourceTimeout

protected final Integer xaResourceTimeout
xaResourceTimeout

Constructor Detail

CommonTimeOutImpl

public CommonTimeOutImpl(Long blockingTimeoutMillis,
                         Long idleTimeoutMinutes,
                         Integer allocationRetry,
                         Long allocationRetryWaitMillis,
                         Integer xaResourceTimeout)
                  throws org.jboss.jca.common.api.validator.ValidateException
Create a new STimeOutImpl.

Parameters:
blockingTimeoutMillis - blockingTimeoutMillis
idleTimeoutMinutes - idleTimeoutMinutes
allocationRetry - allocationRetry
allocationRetryWaitMillis - allocationRetryWaitMillis
xaResourceTimeout - xaResourceTimeout
Throws:
org.jboss.jca.common.api.validator.ValidateException - ValidateException
Method Detail

getBlockingTimeoutMillis

public final Long getBlockingTimeoutMillis()
Get the blockingTimeoutMillis.

Specified by:
getBlockingTimeoutMillis in interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
Returns:
the blockingTimeoutMillis.

getIdleTimeoutMinutes

public final Long getIdleTimeoutMinutes()
Get the idleTimeoutMinutes.

Specified by:
getIdleTimeoutMinutes in interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
Returns:
the idleTimeoutMinutes.

getAllocationRetry

public final Integer getAllocationRetry()
Get the allocationRetry.

Specified by:
getAllocationRetry in interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
Returns:
the allocationRetry.

getAllocationRetryWaitMillis

public final Long getAllocationRetryWaitMillis()
Get the allocationRetryWaitMillis.

Specified by:
getAllocationRetryWaitMillis in interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
Returns:
the allocationRetryWaitMillis.

getXaResourceTimeout

public Integer getXaResourceTimeout()
Get the xaResourceTimeout.

Specified by:
getXaResourceTimeout in interface org.jboss.jca.common.api.metadata.common.CommonTimeOut
Returns:
the xaResourceTimeout.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)