org.apache.cassandra.io.util
Class BufferedSegmentedFile

java.lang.Object
  extended by org.apache.cassandra.io.util.SegmentedFile
      extended by org.apache.cassandra.io.util.PoolingSegmentedFile
          extended by org.apache.cassandra.io.util.BufferedSegmentedFile

public class BufferedSegmentedFile
extends PoolingSegmentedFile


Nested Class Summary
static class BufferedSegmentedFile.Builder
           
 
Field Summary
 
Fields inherited from class org.apache.cassandra.io.util.PoolingSegmentedFile
pool
 
Fields inherited from class org.apache.cassandra.io.util.SegmentedFile
length, onDiskLength, path
 
Constructor Summary
BufferedSegmentedFile(java.lang.String path, long length)
           
 
Method Summary
protected  RandomAccessReader createReader(java.lang.String path)
           
 
Methods inherited from class org.apache.cassandra.io.util.PoolingSegmentedFile
cleanup, getSegment, recycle
 
Methods inherited from class org.apache.cassandra.io.util.SegmentedFile
getBuilder, getCompressedBuilder, iterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BufferedSegmentedFile

public BufferedSegmentedFile(java.lang.String path,
                             long length)
Method Detail

createReader

protected RandomAccessReader createReader(java.lang.String path)
Specified by:
createReader in class PoolingSegmentedFile


Copyright © 2013 The Apache Software Foundation