krati.core.segment
Class ChannelSegmentFactory

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

public class ChannelSegmentFactory
extends Object
implements SegmentFactory

ChannelSegmentFactory

Author:
jwu

Constructor Summary
ChannelSegmentFactory()
           
 
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

ChannelSegmentFactory

public ChannelSegmentFactory()
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.