net.jcip.annotations |
|
Java Source File Name | Type | Comment |
GuardedBy.java | Annotation | 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.java | Annotation | Immutable
The class to which this annotation is applied is immutable. |
NotThreadSafe.java | Annotation | NotThreadSafe
The class to which this annotation is applied is not thread-safe.
This annotation primarily exists for clarifying the non-thread-safety of a class
that might otherwise be assumed to be thread-safe, despite the fact that it is a bad
idea to assume a class is thread-safe without good reason. |
ThreadSafe.java | Annotation | ThreadSafe
The class to which this annotation is applied is thread-safe. |