171172173174175176177178179180181
} } finally { if (fileBuffer != null) { fileBuffer.byteBuf().unwrap().release(); } storage.freeDirectBuffer(directBuffer); } numberOfMessages.set(messages.size());
176177178179180181182183184185186
} finally { if (fileBuffer != null) { fileBuffer.byteBuf().unwrap().release(); } storage.freeDirectBuffer(directBuffer); } numberOfMessages.set(messages.size());
27282729273027312732273327342735273627372738
return bufferSize; } finally { // release it by first unwrap the unreleasable buffer and then release it. buffer.byteBuf().unwrap().release(); } } /** * @param buffer
27392740274127422743274427452746274727482749