Annotation Type ReadAfterWriteConsistent

  • @Target(TYPE)
    public @interface ReadAfterWriteConsistent

    Some storage backends do not guarantee that a file immediately exists on the remote side after it is uploaded or moved.
    This feature handles such cases by relaxing the strong assumption that a file is immediately available after creation due to upload or move operations.

    The ReadAfterWriteConsistentFeatureTransferManager throttles existence check using a simple exponential method:
    throttle(n) = 3 ^ n * 100 ms, with n being the current iteration

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int maxRetries
      Define how often a transfer manager will try to find a file on the remote side.
      int maxWaitTime
      Define the maximum wait time until a file has to exist on the remote side (given in milliseconds).