Annotation Interface 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
    A unique key to identify the lock (non-null)
  • Element Details

    • key

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