Package org.apache.cassandra.io.util
Class DataOutputStreamPlus
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.cassandra.io.util.DataOutputStreamPlus
-
- All Implemented Interfaces:
java.io.Closeable,java.io.DataOutput,java.io.Flushable,java.lang.AutoCloseable,DataOutputPlus
- Direct Known Subclasses:
BufferedDataOutputStreamPlus,UnbufferedDataOutputStreamPlus
public abstract class DataOutputStreamPlus extends java.io.OutputStream implements DataOutputPlus
Abstract base class for DataOutputStreams that accept writes from ByteBuffer or Memory and also provide access to the underlying WritableByteChannel associated with their output stream. If no channel is provided by derived classes then a wrapper channel is provided.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.nio.channels.WritableByteChannelchannel
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataOutputStreamPlus()protectedDataOutputStreamPlus(java.nio.channels.WritableByteChannel channel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.channels.WritableByteChannelnewDefaultChannel()protected static byte[]retrieveTemporaryBuffer(int minSize)-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Methods inherited from interface org.apache.cassandra.io.util.DataOutputPlus
hasPosition, position, write, write, writeBytes, writeUnsignedVInt, writeVInt
-
-