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
-
Constructor Summary
Constructors Constructor Description RateLimitingInputStream(java.io.InputStream delegate, org.apache.lucene.store.RateLimiter rateLimiter, RateLimitingInputStream.Listener listener)
-
-
-
Constructor Detail
-
RateLimitingInputStream
public RateLimitingInputStream(java.io.InputStream delegate, org.apache.lucene.store.RateLimiter rateLimiter, RateLimitingInputStream.Listener listener)
-
-