|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Target(value={METHOD,CONSTRUCTOR})
@Retention(value=RUNTIME)
public @interface Holding
Indicates that when the method is invoked, the given locks must be held
by the caller.
The possible values are explained in GuardedBy possible values.
GuardedBy| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
|
| Element Detail |
|---|
public abstract String[] value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||