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

com.datastax.util.concurrency.NotThreadSafe Maven / Gradle / Ivy

The newest version!
package com.datastax.util.concurrency;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * The presence of this annotation indicates that the author believes the class is not thread-safe.
 * The absence of this annotation does not indicate that the class is thread-safe, instead this annotation is for
 * cases where a naïve assumption could be easily made that the class is thread-safe. In general, it is a bad plan
 * to assume a class is thread safe without good reason.
 */
@Documented
@Target(TYPE)
@Retention(RUNTIME)
public @interface NotThreadSafe {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy