Package com.illumon.iris.db.util.file
Class FileHandleByteBufferSink
java.lang.Object
com.illumon.iris.db.util.file.FileHandleByteBufferSink
- All Implemented Interfaces:
com.fishlib.io.streams.ByteBufferSink
public class FileHandleByteBufferSink extends Object implements com.fishlib.io.streams.ByteBufferSink
ByteBufferSink that writes to a FileHandle in lieu of a FileChannel.
TODO: Figure out why I wrote this.
-
Constructor Summary
Constructors Constructor Description FileHandleByteBufferSink(FileHandle fileHandle)
-
Method Summary
Modifier and Type Method Description ByteBuffer
acceptBuffer(ByteBuffer b, int need)
void
close(ByteBuffer b)
-
Constructor Details
-
Method Details
-
acceptBuffer
- Specified by:
acceptBuffer
in interfacecom.fishlib.io.streams.ByteBufferSink
- Throws:
IOException
-
close
- Specified by:
close
in interfacecom.fishlib.io.streams.ByteBufferSink
- Throws:
IOException
-