org.compass.core.lucene.engine.store.localcache
Class LocalDirectoryCacheManager

java.lang.Object
  extended by org.compass.core.lucene.engine.store.localcache.LocalDirectoryCacheManager
All Implemented Interfaces:
CompassConfigurable

public class LocalDirectoryCacheManager
extends Object
implements CompassConfigurable

Author:
kimchy

Constructor Summary
LocalDirectoryCacheManager(LuceneSearchEngineFactory searchEngineFactory)
           
 
Method Summary
 void close()
           
 void configure(CompassSettings settings)
          Configure using the given settings.
 Directory createLocalCache(String subContext, String subIndex, Directory dir)
           
 LuceneSearchEngineFactory getSearchEngineFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalDirectoryCacheManager

public LocalDirectoryCacheManager(LuceneSearchEngineFactory searchEngineFactory)
Method Detail

getSearchEngineFactory

public LuceneSearchEngineFactory getSearchEngineFactory()

configure

public void configure(CompassSettings settings)
               throws CompassException
Description copied from interface: CompassConfigurable
Configure using the given settings.

Specified by:
configure in interface CompassConfigurable
Parameters:
settings - The settings for the configured object
Throws:
CompassException

createLocalCache

public Directory createLocalCache(String subContext,
                                  String subIndex,
                                  Directory dir)
                           throws SearchEngineException
Throws:
SearchEngineException

close

public void close()


Copyright (c) 2004-2008 The Compass Project.