org.jboss.dna.search.lucene
Class LuceneConfigurations.RamDirectoryFactory
java.lang.Object
org.jboss.dna.search.lucene.LuceneConfigurations.RamDirectoryFactory
- All Implemented Interfaces:
- LuceneConfiguration
- Enclosing class:
- LuceneConfigurations
@ThreadSafe
public static class LuceneConfigurations.RamDirectoryFactory
- extends Object
A LuceneConfiguration implementation that creates RAMDirectory instances for each workspace and index name.
Each factory instance maintains a pool of RAMDirectory instances, ensuring that the same RAMDirectory is
always returned for the same workspace name.
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.