Module org.elasticsearch.server
Class RetryingInputStream.SingleAttemptInputStream
java.lang.Object
java.io.InputStream
org.elasticsearch.common.blobstore.RetryingInputStream.SingleAttemptInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
RetryingInputStream
Represents an
InputStream for a single attempt to read a blob. Each retry
will attempt to create a new one of these. If reading from it fails, it should not retry.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
SingleAttemptInputStream
protected SingleAttemptInputStream()
-
-
Method Details
-
getFirstOffset
protected abstract long getFirstOffset()- Returns:
- the offset of the first byte returned by this input stream
-