Package com.oracle.bmc.retrier
Class RetryOptions
- java.lang.Object
-
- com.oracle.bmc.retrier.RetryOptions
-
public final class RetryOptions extends Object
Defines the options when retrying
-
-
Constructor Summary
Constructors Constructor Description RetryOptions(int markReadLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMarkReadLimit()
Getter for mark read limit when marking the stream for retry.void
setMarkReadLimit(int value)
Setter for mark read limit that guarantees at least {@param value} bytes are read before invalidating mark.
-
-
-
Method Detail
-
getMarkReadLimit
public int getMarkReadLimit()
Getter for mark read limit when marking the stream for retry.The mark read limit guarantees to read at least that many bytes before invalidating mark
-
setMarkReadLimit
public void setMarkReadLimit(int value)
Setter for mark read limit that guarantees at least {@param value} bytes are read before invalidating mark.Ensure the mark read limit is at least the size of the stream to successfully reset the stream
-
-