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 ByteBufferacceptBuffer(ByteBuffer b, int need)voidclose(ByteBuffer b)
-
Constructor Details
-
Method Details
-
acceptBuffer
- Specified by:
acceptBufferin interfacecom.fishlib.io.streams.ByteBufferSink- Throws:
IOException
-
close
- Specified by:
closein interfacecom.fishlib.io.streams.ByteBufferSink- Throws:
IOException
-