public final class RetryOptions extends Object
Defines the options when retrying
Constructor and Description |
---|
RetryOptions(int markReadLimit) |
Modifier and Type | Method and 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 bytes are read before
invalidating mark.
|
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
public void setMarkReadLimit(int value)
Setter for mark read limit that guarantees at least bytes are read before invalidating mark. Ensure the mark read limit is at least the size of the stream to successfully reset the stream
Copyright © 2016–2024. All rights reserved.