Annotation Interface ThreadSafe
Documents that the annotated type is thread-safe.
When applied to an interface or abstract class, documents that implementations and subclasses must be thread-safe.
This annotation only provides information; nothing magical happens when it is present. The implementor of the annotated class/interface is responsible for ensuring it is actually thread-safe.
-
Element Details
-
caveat
String caveat- Default:
""
-