public class ThrottledInputStream extends MeteredInputStream implements Throttled
in| Constructor and Description |
|---|
ThrottledInputStream(InputStream in,
int unitsPerSecond) |
| Modifier and Type | Method and Description |
|---|---|
Throttle |
getThrottle() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
close, getMeter, reset, skipavailable, mark, markSupported, readpublic ThrottledInputStream(InputStream in, int unitsPerSecond)
public Throttle getThrottle()
getThrottle in interface Throttledpublic int read()
throws IOException
read in class MeteredInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class MeteredInputStreamIOExceptionCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.