public class RateLimitingInputStream extends FilterInputStream
Modifier and Type | Class and Description |
---|---|
static interface |
RateLimitingInputStream.Listener |
in
Constructor and Description |
---|
RateLimitingInputStream(InputStream delegate,
org.apache.lucene.store.RateLimiter rateLimiter,
RateLimitingInputStream.Listener listener) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skip
public RateLimitingInputStream(InputStream delegate, org.apache.lucene.store.RateLimiter rateLimiter, RateLimitingInputStream.Listener listener)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2009–2016. All rights reserved.