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, skip
available, mark, markSupported, read
public ThrottledInputStream(InputStream in, int unitsPerSecond)
public Throttle getThrottle()
getThrottle
in interface Throttled
public int read() throws IOException
read
in class MeteredInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class MeteredInputStream
IOException
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.