Package oshi.annotation.concurrent
Annotation Type NotThreadSafe
-
@Documented public @interface NotThreadSafe
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.This annotation is intended for internal use in OSHI as a temporary workaround until it is available in
jakarta.annotations
.