org.apache.solr.core
Class StandardDirectoryFactory

java.lang.Object
  extended by org.apache.solr.core.DirectoryFactory
      extended by org.apache.solr.core.CachingDirectoryFactory
          extended by org.apache.solr.core.StandardDirectoryFactory
All Implemented Interfaces:
Closeable, NamedListInitializedPlugin
Direct Known Subclasses:
NRTCachingDirectoryFactory, RAMDirectoryFactory

public class StandardDirectoryFactory
extends CachingDirectoryFactory

Directory provider which mimics original Solr FSDirectory based behavior.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.solr.core.CachingDirectoryFactory
CachingDirectoryFactory.CloseListener
 
Field Summary
 
Fields inherited from class org.apache.solr.core.CachingDirectoryFactory
byDirectoryCache, byPathCache, closeListeners
 
Constructor Summary
StandardDirectoryFactory()
           
 
Method Summary
protected  Directory create(String path)
          Creates a new Directory for a given path.
 
Methods inherited from class org.apache.solr.core.CachingDirectoryFactory
addCloseListener, close, doneWithDirectory, 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

StandardDirectoryFactory

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