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.IOExceptionpublic void close()
close in interface java.lang.AutoCloseablepublic void fsync()
Copyright © 2016 The Apache Software Foundation