public class CompressedHintsWriter
extends java.lang.Object
Constructor and Description |
---|
CompressedHintsWriter(java.io.File directory,
org.apache.cassandra.hints.HintsDescriptor descriptor,
java.io.File file,
java.nio.channels.FileChannel channel,
int fd,
java.util.zip.CRC32 globalCRC) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fsync() |
protected void |
writeBuffer(java.nio.ByteBuffer bb)
Writes byte buffer into the file channel.
|
public CompressedHintsWriter(java.io.File directory, org.apache.cassandra.hints.HintsDescriptor descriptor, java.io.File file, java.nio.channels.FileChannel channel, int fd, java.util.zip.CRC32 globalCRC)
protected void writeBuffer(java.nio.ByteBuffer bb) throws java.io.IOException
java.io.IOException
public void close()
close
in interface java.lang.AutoCloseable
public void fsync()
Copyright © 2019 The Apache Software Foundation