@Override public void writeAll(ByteBuffer src) throws IOException { delegateChannel.writeAll(src); }
public final void writeRecord(Record record, StoreChannel channel) throws IOException { ByteBuffer buffer = ByteBuffer.allocate(getRecordSize()); StubPageCursor cursor = new StubPageCursor(0, buffer); write(record, cursor); channel.writeAll(buffer); }