Annotation Type WithLock


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface WithLock
    Used to identify tenant-level API methods that require taking a functional lock when they are called. When the lock with this key is already taken by another call, the API method will fail immediately. Used by the Bonita Engine server interceptor.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String key
      A unique key to identify the lock (non-null)
    • Element Detail

      • key

        java.lang.String key
        A unique key to identify the lock (non-null)