Annotation Type RetryConcurrentModification


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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class[] exception
      Specify exception for which operation should be retried.
      int retries
      Sets the number of times to retry the operation.
      int sleepIntervalInMillis
      Sets the sleep interval in milliseconds between retries.
    • Element Detail

      • exception

        java.lang.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