Annotation Interface QueryModule.Lock

Enclosing class:
QueryModule

@Retention(RUNTIME) @Target(METHOD) public static @interface QueryModule.Lock
Set additional locks to be fetched. These are useful if a module accesses external resources which must be under concurrency control. These locks are in a "java module namespace" and do not interfere with user locks or databases with the same name.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Lock.
  • Element Details

    • value

      String value
      Lock.
      Returns:
      read lock