Annotation Interface RetryConcurrentModification


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface RetryConcurrentModification
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specify exception for which operation should be retried.
    int
    Sets the number of times to retry the operation.
    int
    Sets the sleep interval in milliseconds between retries.
  • Element Details

    • exception

      Class[] exception
      Specify exception for which operation should be retried.
      Default:
      {de.hybris.platform.persistence.hjmp.HJMPException.class, de.hybris.platform.directpersistence.exception.ConcurrentModificationException.class, de.hybris.platform.persistence.polyglot.uow.PolyglotPersistenceConcurrentModificationException.class}
    • retries

      int retries
      Sets the number of times to retry the operation. The default of -1 indicates default 5 will be used.
      Default:
      -1
    • sleepIntervalInMillis

      int sleepIntervalInMillis
      Sets the sleep interval in milliseconds between retries.
      Default:
      -1