Package org.apache.spark.storage
Class ReadableChannelFileRegion
Object
io.netty.util.AbstractReferenceCounted
org.apache.spark.network.util.AbstractFileRegion
org.apache.spark.storage.ReadableChannelFileRegion
- All Implemented Interfaces:
io.netty.channel.FileRegion
,io.netty.util.ReferenceCounted
public class ReadableChannelFileRegion
extends org.apache.spark.network.util.AbstractFileRegion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
long
position()
long
long
transferTo
(WritableByteChannel target, long pos) Methods inherited from class org.apache.spark.network.util.AbstractFileRegion
retain, retain, touch, touch, transfered
Methods inherited from class io.netty.util.AbstractReferenceCounted
refCnt, release, release
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
Constructor Details
-
ReadableChannelFileRegion
-
-
Method Details
-
count
public long count() -
deallocate
public void deallocate() -
position
public long position() -
transferTo
-
transferred
public long transferred()
-