Class RetryingInputStream.SingleAttemptInputStream

java.lang.Object
java.io.InputStream
org.elasticsearch.common.blobstore.RetryingInputStream.SingleAttemptInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
RetryingInputStream

protected abstract static class RetryingInputStream.SingleAttemptInputStream extends InputStream
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 Details

    • SingleAttemptInputStream

      protected SingleAttemptInputStream()
  • Method Details

    • getFirstOffset

      protected abstract long getFirstOffset()
      Returns:
      the offset of the first byte returned by this input stream