Package org.dcache.xrootd.util
Interface ByteBuffersProvider
-
- All Superinterfaces:
io.netty.util.ReferenceCounted
- All Known Implementing Classes:
InboundReadResponse,WriteRequest
public interface ByteBuffersProvider extends io.netty.util.ReferenceCountedThis interface pulls out the two methods necessary to support the write. The reason for doing so is to avoid an additional buffer copy in translating a ThirdParty read request response into a write request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetWriteOffset()java.nio.ByteBuffer[]toByteBuffers()
-