Class RetryLayer

java.lang.Object
org.apache.opendal.Layer
org.apache.opendal.layer.RetryLayer

public class RetryLayer extends Layer
This layer will retry failed operations when Error::is_temporary returns true. If operation still failed, this layer will set error to Persistent which means error has been retried.
See Also:
  • Constructor Details

    • RetryLayer

      public RetryLayer()
  • Method Details

    • layer

      protected long layer(long nativeOp)
      Specified by:
      layer in class Layer