Class RetriableStream.Substream

  • Enclosing class:
    RetriableStream<ReqT>

    private static final class RetriableStream.Substream
    extends java.lang.Object
    A wrapper of a physical stream of a retry/hedging attempt, that comes with some useful attributes.
    • Constructor Summary

      Constructors 
      Constructor Description
      Substream​(int previousAttemptCount)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • closed

        boolean closed
      • bufferLimitExceeded

        boolean bufferLimitExceeded
      • previousAttemptCount

        final int previousAttemptCount
    • Constructor Detail

      • Substream

        Substream​(int previousAttemptCount)