Class RateLimitingInputStream
org.elasticsearch.index.snapshots.blobstore.RateLimitingInputStream
- All Implemented Interfaces:
,
public class RateLimitingInputStream
extends
Rate limiting wrapper for InputStream
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.io.
-
Constructor Summary
ConstructorDescriptiondelegate, <org.apache.lucene.store.RateLimiter> rateLimiterSupplier, RateLimitingInputStream.Listener listener)
-
Method Summary
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:
-