|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccessTimeoutType<T>
This interface defines the contract for the access-timeoutType xsd type
Original Documentation:
The access-timeoutType represents the maximum amount of
time (in a given time unit) that the container should wait for
a concurrency lock before throwing a timeout exception to the
client.
A timeout value of 0 means concurrent access is not permitted.
A timeout value of -1 means wait indefinitely to acquire a lock.
| Method Summary | |
|---|---|
java.lang.Integer |
getTimeout()
Returns the timeout element |
TimeUnitTypeType |
getUnit()
Returns the unit element |
java.lang.String |
getUnitAsString()
Returns the unit element |
AccessTimeoutType<T> |
removeTimeout()
Removes the timeout element |
AccessTimeoutType<T> |
setTimeout(java.lang.Integer timeout)
If not already created, a new timeout element with the given value will be created. |
AccessTimeoutType<T> |
setUnit(java.lang.String unit)
If not already created, a new unit element with the given value will be created. |
AccessTimeoutType<T> |
setUnit(TimeUnitTypeType unit)
If not already created, a new unit element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
AccessTimeoutType<T> setTimeout(java.lang.Integer timeout)
timeout element with the given value will be created.
Otherwise, the existing timeout element will be updated with the given value.
AccessTimeoutTypeAccessTimeoutType<T> removeTimeout()
timeout element
AccessTimeoutTypejava.lang.Integer getTimeout()
timeout element
timeoutAccessTimeoutType<T> setUnit(TimeUnitTypeType unit)
unit element with the given value will be created.
Otherwise, the existing unit element will be updated with the given value.
AccessTimeoutTypeAccessTimeoutType<T> setUnit(java.lang.String unit)
unit element with the given value will be created.
Otherwise, the existing unit element will be updated with the given value.
AccessTimeoutTypeTimeUnitTypeType getUnit()
unit element
unitjava.lang.String getUnitAsString()
unit element
unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||