org.jboss.dna.search.lucene
Class LuceneConfigurations.RamDirectoryFactory

java.lang.Object
  extended by 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.


Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.