public interface ConcurrentMethodType<T> extends Child<T>
concurrent-methodType
xsd typeModifier and Type | Method and Description |
---|---|
ConcurrentLockTypeType |
getLock()
Returns the
lock element |
String |
getLockAsString()
Returns the
lock element |
AccessTimeoutType<ConcurrentMethodType<T>> |
getOrCreateAccessTimeout()
If not already created, a new
access-timeout element with the given value will be created. |
NamedMethodType<ConcurrentMethodType<T>> |
getOrCreateMethod()
If not already created, a new
method element with the given value will be created. |
ConcurrentMethodType<T> |
lock(ConcurrentLockTypeType lock)
Sets the
lock element |
ConcurrentMethodType<T> |
lock(String lock)
Sets the
lock element |
ConcurrentMethodType<T> |
removeAccessTimeout()
Removes the
access-timeout element |
ConcurrentMethodType<T> |
removeLock()
Removes the
lock attribute |
ConcurrentMethodType<T> |
removeMethod()
Removes the
method element |
NamedMethodType<ConcurrentMethodType<T>> getOrCreateMethod()
method
element with the given value will be created.
Otherwise, the existing method
element will be returned.NamedMethodType>
ConcurrentMethodType<T> removeMethod()
method
elementConcurrentMethodType
ConcurrentMethodType<T> lock(ConcurrentLockTypeType lock)
lock
elementlock
- the value for the element lock
ConcurrentMethodType
ConcurrentMethodType<T> lock(String lock)
lock
elementlock
- the value for the element lock
ConcurrentMethodType
ConcurrentLockTypeType getLock()
lock
elementlock
String getLockAsString()
lock
elementlock
ConcurrentMethodType<T> removeLock()
lock
attributeConcurrentMethodType
AccessTimeoutType<ConcurrentMethodType<T>> getOrCreateAccessTimeout()
access-timeout
element with the given value will be created.
Otherwise, the existing access-timeout
element will be returned.AccessTimeoutType>
ConcurrentMethodType<T> removeAccessTimeout()
access-timeout
elementConcurrentMethodType
Copyright © 2015 JBoss by Red Hat. All rights reserved.