Annotation Type GuardedBy
-
@Target({FIELD,METHOD}) @Retention(SOURCE) public @interface GuardedBy
Indicates that the annotated element should be used only while holding the specified lock.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
The lock that should be held, specified in the format given in Java Concurrency in Practice.
-
-
-
Element Detail
-
value
java.lang.String value
The lock that should be held, specified in the format given in Java Concurrency in Practice.
-
-