Annotation Interface JerseyWriteLockService.LockingResource

Enclosing class:
JerseyWriteLockService

@Documented @Retention(RUNTIME) @Target(TYPE) public static @interface JerseyWriteLockService.LockingResource
Marks a resource as 'locking'. This means that every method on the resource will by default read-lock a lock specific to that resource.

ATTENTION: This annotation must be placed on the resource implementation!

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the lock.
  • Element Details

    • value

      String value
      The name of the lock. If not given, uses the path of the resource.
      Default:
      ""