Class RateLimitingInputStream

org.elasticsearch.index.snapshots.blobstore.RateLimitingInputStream
All Implemented Interfaces:
,

public class RateLimitingInputStream extends
Rate limiting wrapper for InputStream
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
  • Field Summary

    Fields inherited from class java.io.

  • Constructor Summary

    Constructors
    Constructor
    Description
     delegate, <org.apache.lucene.store.RateLimiter> rateLimiterSupplier, RateLimitingInputStream.Listener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
    read​(byte[] b, int off, int len)
     

    Methods inherited from class java.io.

    , , , , , ,

    Methods inherited from class java.io.

    , , , , ,

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • RateLimitingInputStream

      public RateLimitingInputStream( delegate, <org.apache.lucene.store.RateLimiter> rateLimiterSupplier, RateLimitingInputStream.Listener listener)
  • Method Details

    • read

      public int read() throws
      Overrides:
       in class 
      Throws:
    • read

      public int read(byte[] b, int off, int len) throws
      Overrides:
       in class 
      Throws: