Package org.apache.cassandra.io.util
Class FileOutputStreamPlus
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.cassandra.io.util.DataOutputStreamPlus
-
- org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
-
- org.apache.cassandra.io.util.FileOutputStreamPlus
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.DataOutput
,java.io.Flushable
,java.lang.AutoCloseable
,DataOutputPlus
public class FileOutputStreamPlus extends BufferedDataOutputStreamPlus
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
buffer
-
Fields inherited from class org.apache.cassandra.io.util.DataOutputStreamPlus
channel
-
-
Constructor Summary
Constructors Constructor Description FileOutputStreamPlus(java.lang.String path)
FileOutputStreamPlus(java.lang.String path, File.WriteMode mode)
FileOutputStreamPlus(java.nio.file.Path path)
FileOutputStreamPlus(java.nio.file.Path path, File.WriteMode mode)
FileOutputStreamPlus(File file)
FileOutputStreamPlus(File file, File.WriteMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.channels.FileChannel
getChannel()
void
sync()
-
Methods inherited from class org.apache.cassandra.io.util.BufferedDataOutputStreamPlus
allocate, close, doFlush, flush, order, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeMostSignificantBytes, writeShort, writeUTF
-
Methods inherited from class org.apache.cassandra.io.util.DataOutputStreamPlus
newDefaultChannel, retrieveTemporaryBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.io.util.DataOutputPlus
bytesLeftInPage, hasPosition, maxBytesInPage, paddedPosition, padToPageBoundary, position, write, writeUnsignedVInt, writeUnsignedVInt, writeUnsignedVInt32, writeVInt, writeVInt, writeVInt32
-
-
-
-
Constructor Detail
-
FileOutputStreamPlus
public FileOutputStreamPlus(java.lang.String path) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
FileOutputStreamPlus
public FileOutputStreamPlus(java.lang.String path, File.WriteMode mode) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
FileOutputStreamPlus
public FileOutputStreamPlus(File file) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
FileOutputStreamPlus
public FileOutputStreamPlus(File file, File.WriteMode mode) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
FileOutputStreamPlus
public FileOutputStreamPlus(java.nio.file.Path path) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
FileOutputStreamPlus
public FileOutputStreamPlus(java.nio.file.Path path, File.WriteMode mode) throws java.nio.file.NoSuchFileException
- Throws:
java.nio.file.NoSuchFileException
-
-