Package org.apache.solr.update
Class MemOutputStream
- java.lang.Object
- 
- java.io.OutputStream
- 
- org.apache.solr.common.util.FastOutputStream
- 
- org.apache.solr.update.MemOutputStream
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- DataOutput,- Flushable,- AutoCloseable
 
 public class MemOutputStream extends FastOutputStream - NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
 
- 
- 
Constructor SummaryConstructors Constructor Description MemOutputStream(byte[] tempBuffer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush(byte[] arr, int offset, int len)voidwriteAll(FastOutputStream fos)- 
Methods inherited from class org.apache.solr.common.util.FastOutputStreamclose, flush, flushBuffer, reserve, setWritten, size, wrap, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF, writeUtf8CharSeq, written
 
- 
 
- 
- 
- 
Field Detail- 
bufferspublic List<byte[]> buffers 
 
- 
 - 
Method Detail- 
flushpublic void flush(byte[] arr, int offset, int len) throws IOException- Overrides:
- flushin class- FastOutputStream
- Throws:
- IOException
 
 - 
writeAllpublic void writeAll(FastOutputStream fos) throws IOException - Throws:
- IOException
 
 
- 
 
-