public class ReadableChannelFileRegion
extends io.netty.util.AbstractReferenceCounted
implements io.netty.channel.FileRegion
| Constructor and Description |
|---|
ReadableChannelFileRegion(java.nio.channels.ReadableByteChannel source,
long blockSize) |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
void |
deallocate() |
long |
position() |
long |
transfered() |
long |
transferTo(java.nio.channels.WritableByteChannel target,
long pos) |
refCnt, release, release, retain, retainpublic ReadableChannelFileRegion(java.nio.channels.ReadableByteChannel source,
long blockSize)
public long count()
count in interface io.netty.channel.FileRegionpublic long position()
position in interface io.netty.channel.FileRegionpublic long transfered()
transfered in interface io.netty.channel.FileRegionpublic long transferTo(java.nio.channels.WritableByteChannel target,
long pos)
transferTo in interface io.netty.channel.FileRegionpublic void deallocate()
deallocate in class io.netty.util.AbstractReferenceCounted