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