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, getMeterflush, writepublic ThrottledOutputStream(OutputStream out, int unitsPerSecond)
public Throttle getThrottle()
getThrottle in interface Throttledpublic void write(byte[] b,
                  int off,
                  int len)
           throws IOException
write in class MeteredOutputStreamIOExceptionpublic void write(int b)
           throws IOException
write in class MeteredOutputStreamIOExceptionCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.