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 Details

    • ReadableChannelFileRegion

      public ReadableChannelFileRegion(ReadableByteChannel source, long blockSize)
  • Method Details

    • count

      public long count()
    • deallocate

      public void deallocate()
    • position

      public long position()
    • transferTo

      public long transferTo(WritableByteChannel target, long pos)
    • transferred

      public long transferred()