try {
final SocketChannel socketChannel = (SocketChannel) connection.getChannel();
fill(queueRecord, bufferSize, directByteBufferRecord);
directByteBufferRecord.finishBufferSlice();
final int arraySize = directByteBufferRecord.getArraySize();
final int written = arraySize == 1 ?