public class ReadableChannelFileRegion
extends org.apache.spark.network.util.AbstractFileRegion
Constructor and Description |
---|
ReadableChannelFileRegion(java.nio.channels.ReadableByteChannel source,
long blockSize) |
Modifier and Type | Method and Description |
---|---|
long |
count() |
void |
deallocate() |
long |
position() |
long |
transferred() |
long |
transferTo(java.nio.channels.WritableByteChannel target,
long pos) |
retain, retain, touch, touch, transfered
public ReadableChannelFileRegion(java.nio.channels.ReadableByteChannel source, long blockSize)
public long count()
public void deallocate()
deallocate
in class io.netty.util.AbstractReferenceCounted
public long position()
public long transferTo(java.nio.channels.WritableByteChannel target, long pos)
public long transferred()