Annotation Type QueryModule.Lock


  • @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
      String value
      Lock.
    • Element Detail

      • value

        String value
        Lock.
        Returns:
        read lock