org.erowid.sperosearch.splitindex
Class SplitIndexSegmentFactory
java.lang.Object
org.erowid.sperosearch.splitindex.SplitIndexSegmentFactory
- public class SplitIndexSegmentFactory
- extends Object
A factory and cache of SplitIndexSegment
objects.
- Version:
- : $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/splitindex/SplitIndexSegmentFactory.java,v 1.1 2005/06/02 06:07:58 gurustu Exp $
- Author:
- : $Author: gurustu $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitIndexSegmentFactory
public SplitIndexSegmentFactory(int mapSize)
- Creates a(n) SplitIndexSegmentFactory object.
getSegment
public SplitIndexSegment getSegment(SplitIndexFileDescriptor fileDescriptor,
int segment)
throws IOException
- Returns the segment corresponding to the passed in logical file
and segment.
- Throws:
IOException
close
public void close()
- Cleans up resources.