com.qcloud.cos.annotation.GuardedBy Maven / Gradle / Ivy
package com.qcloud.cos.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Documenting annotation to indicate the field or method on which this is applied can only be accessed
* when holding the given lock (identified by value).
*/
@Documented
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.CLASS)
public @interface GuardedBy {
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy