Package org.apache.cassandra.io.util
Class DataOutputStreamPlus
java.lang.Object
java.io.OutputStream
org.apache.cassandra.io.util.DataOutputStreamPlus
- All Implemented Interfaces:
Closeable,DataOutput,Flushable,AutoCloseable,DataOutputPlus
- Direct Known Subclasses:
BufferedDataOutputStreamPlus,UnbufferedDataOutputStreamPlus
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedDataOutputStreamPlus(WritableByteChannel channel) -
Method Summary
Modifier and TypeMethodDescriptionprotected WritableByteChannelprotected static byte[]retrieveTemporaryBuffer(int minSize) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from interface org.apache.cassandra.io.util.DataOutputPlus
bytesLeftInPage, hasPosition, maxBytesInPage, paddedPosition, padToPageBoundary, position, write, write, writeMostSignificantBytes, writeUnsignedVInt, writeUnsignedVInt, writeUnsignedVInt32, writeVInt, writeVInt, writeVInt32
-
Field Details
-
channel
-
-
Constructor Details
-
DataOutputStreamPlus
protected DataOutputStreamPlus() -
DataOutputStreamPlus
-
-
Method Details
-
retrieveTemporaryBuffer
protected static byte[] retrieveTemporaryBuffer(int minSize) -
newDefaultChannel
-