krati.core.segment
Class MappedSegmentFactory

java.lang.Object
  extended by krati.core.segment.MappedSegmentFactory
All Implemented Interfaces:
SegmentFactory

public class MappedSegmentFactory
extends Object
implements SegmentFactory

MappedSegmentFactory

Author:
jwu

Constructor Summary
MappedSegmentFactory()
           
 
Method Summary
 Segment createSegment(int segmentId, File segmentFile, int initialSizeMB, Segment.Mode mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedSegmentFactory

public MappedSegmentFactory()
Method Detail

createSegment

public Segment createSegment(int segmentId,
                             File segmentFile,
                             int initialSizeMB,
                             Segment.Mode mode)
                      throws IOException
Specified by:
createSegment in interface SegmentFactory
Throws:
IOException


Copyright © 2011. All Rights Reserved.