krati.core.segment
Class MappedSegmentFactory
java.lang.Object
krati.core.segment.MappedSegmentFactory
- All Implemented Interfaces:
- SegmentFactory
public class MappedSegmentFactory
- extends Object
- implements SegmentFactory
MappedSegmentFactory
- Author:
- jwu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedSegmentFactory
public MappedSegmentFactory()
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.