co.buybuddy.annotation.visibility.ThreadSafe Maven / Gradle / Ivy
The newest version!
package co.buybuddy.annotation.visibility;
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;
/**
* Shows that the annotated construct is applicable for multi-threaded usage, in other words,
* it is thread-safe.
*
* This methodology references Goetz et al, 'Java Concurrency in Practice'.
*
* @see NonThreadSafe
*/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
public @interface ThreadSafe {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy