Package oshi.annotation.concurrent

Provides annotations to document thread safety
  • Annotation Types Summary 
    Annotation Type Description
    GuardedBy
    The 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.
    Immutable
    The presence of this annotation indicates that the author believes the class to be immutable and hence inherently thread-safe.
    NotThreadSafe
    The presence of this annotation indicates that the author believes the class is not thread-safe.
    ThreadSafe
    The presence of this annotation indicates that the author believes the class to be thread-safe.