Module com.github.oshi
Package oshi.annotation.concurrent
package oshi.annotation.concurrent
Provides annotations to document thread safety
-
ClassDescriptionThe field or method to which this annotation is applied can only be accessed when holding a particular lock, which may be a built-in (synchronization) lock, or may be an explicit
java.util.concurrent.Lock
.The presence of this annotation indicates that the author believes the class to be immutable and hence inherently thread-safe.The presence of this annotation indicates that the author believes the class is not thread-safe.The presence of this annotation indicates that the author believes the class to be thread-safe.