Annotation Interface PessimisticLock


@Target(TYPE) @Retention(RUNTIME) public @interface PessimisticLock
Indicates whether to enable pessimistic locking of entity instances.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    (Optional) The lock expiration timeout in seconds.
  • Element Details

    • timeoutSec

      int timeoutSec
      (Optional) The lock expiration timeout in seconds.

      Default value is 300.

      Default:
      300