Annotation Type Retriable


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Retriable
    Feature annotation to make a transfer manager more reliable by making its core methods retriable.

    This annotation is only recognized if used on a TransferManager. If applied, it wraps the original transfer manager in a RetriableFeatureTransferManager.

    The options that can be defined in this feature annotation are how often a method will be retried, and how long the sleep interval between these retries is.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int numberRetries
      Defines the number of retries each method in a transfer method will be retried if it fails.
      int sleepInterval
      Defines the number of milliseconds to wait between each retry attempts.
    • Element Detail

      • numberRetries

        int numberRetries
        Defines the number of retries each method in a transfer method will be retried if it fails.
        Default:
        3
      • sleepInterval

        int sleepInterval
        Defines the number of milliseconds to wait between each retry attempts.
        Default:
        3000