Package org.apache.sysds.runtime.util
Class DoubleBufferingOutputStream
- java.lang.Object
 - 
- java.io.OutputStream
 - 
- java.io.FilterOutputStream
 - 
- org.apache.sysds.runtime.util.DoubleBufferingOutputStream
 
 
 
 
- 
- All Implemented Interfaces:
 Closeable,Flushable,AutoCloseable
public class DoubleBufferingOutputStream extends FilterOutputStream
 
- 
- 
Constructor Summary
Constructors Constructor Description DoubleBufferingOutputStream(OutputStream out)DoubleBufferingOutputStream(OutputStream out, int num, int size) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] b, int off, int len)voidwrite(int b)- 
Methods inherited from class java.io.FilterOutputStream
write 
- 
Methods inherited from class java.io.OutputStream
nullOutputStream 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DoubleBufferingOutputStream
public DoubleBufferingOutputStream(OutputStream out)
 
- 
DoubleBufferingOutputStream
public DoubleBufferingOutputStream(OutputStream out, int num, int size)
 
 - 
 
- 
Method Detail
- 
write
public void write(int b) throws IOException- Overrides:
 writein classFilterOutputStream- Throws:
 IOException
 
- 
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
 writein classFilterOutputStream- Throws:
 IOException
 
- 
flush
public void flush() throws IOException- Specified by:
 flushin interfaceFlushable- Overrides:
 flushin classFilterOutputStream- Throws:
 IOException
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classFilterOutputStream- Throws:
 IOException
 
 - 
 
 -