Top Annotations
[default module]

Package javax.annotation.concurrent


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
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.locks.Lock.

public @interface
Immutable

The class to which this annotation is applied is immutable.

public @interface
NotThreadSafe

The class to which this annotation is applied is not thread-safe.

public @interface
ThreadSafe

The class to which this annotation is applied is thread-safe.