org.apache.solr.core
Class SimpleFSDirectoryFactory

java.lang.Object
  extended by org.apache.solr.core.DirectoryFactory
      extended by org.apache.solr.core.CachingDirectoryFactory
          extended by org.apache.solr.core.SimpleFSDirectoryFactory
All Implemented Interfaces:
Closeable, NamedListInitializedPlugin

public class SimpleFSDirectoryFactory
extends CachingDirectoryFactory

Factory to instantiate SimpleFSDirectory


Field Summary
 
Fields inherited from class org.apache.solr.core.CachingDirectoryFactory
byDirectoryCache, byPathCache
 
Constructor Summary
SimpleFSDirectoryFactory()
           
 
Method Summary
protected  Directory create(String path)
          Creates a new Directory for a given path.
 
Methods inherited from class org.apache.solr.core.CachingDirectoryFactory
close, exists, get, get, incRef, init, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFSDirectoryFactory

public SimpleFSDirectoryFactory()
Method Detail

create

protected Directory create(String path)
                    throws IOException
Description copied from class: DirectoryFactory
Creates a new Directory for a given path.

Specified by:
create in class CachingDirectoryFactory
Throws:
IOException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.