All Downloads are FREE. Search and download functionalities are using the official Maven repository.

co.buybuddy.annotation.visibility.NonThreadSafe 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 not applicable for multi-threaded usage, in other words,
 * it is not thread-safe.
 * 

* This methodology references Goetz et al, 'Java Concurrency in Practice'. * * @see ThreadSafe */ @Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.CLASS) public @interface NonThreadSafe { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy