public class ThrottledOutputStream extends MeteredOutputStream implements Throttled
out
Constructor and Description |
---|
ThrottledOutputStream(OutputStream out,
int unitsPerSecond) |
Modifier and Type | Method and Description |
---|---|
Throttle |
getThrottle() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, getMeter
flush, write
public ThrottledOutputStream(OutputStream out, int unitsPerSecond)
public Throttle getThrottle()
getThrottle
in interface Throttled
public void write(byte[] b, int off, int len) throws IOException
write
in class MeteredOutputStream
IOException
public void write(int b) throws IOException
write
in class MeteredOutputStream
IOException
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.