Class RateLimitingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.elasticsearch.index.snapshots.blobstore.RateLimitingInputStream
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class RateLimitingInputStream
extends java.io.FilterInputStream
Rate limiting wrapper for InputStream
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RateLimitingInputStream.Listener
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RateLimitingInputStream(java.io.InputStream delegate, org.apache.lucene.store.RateLimiter rateLimiter, RateLimitingInputStream.Listener listener)
-
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
Constructor Details
-
RateLimitingInputStream
public RateLimitingInputStream(java.io.InputStream delegate, org.apache.lucene.store.RateLimiter rateLimiter, RateLimitingInputStream.Listener listener)
-
-
Method Details