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