|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.search.store.impl.RAMDirectoryProvider
public class RAMDirectoryProvider
Use a Lucene RAMDirectory
Constructor Summary | |
---|---|
RAMDirectoryProvider()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
org.apache.lucene.store.RAMDirectory |
getDirectory()
Returns an initialized Lucene Directory. |
int |
hashCode()
|
void |
initialize(String directoryProviderName,
Properties properties,
BuildContext context)
|
protected org.apache.lucene.store.RAMDirectory |
makeRAMDirectory()
To allow extensions to create different RAMDirectory flavours: |
void |
start(DirectoryBasedIndexManager indexManager)
Executed after initialize, this method set up the heavy process of starting up the DirectoryProvider IO processing as well as background processing are expected to be set up here |
void |
stop()
Executed when the search factory is closed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RAMDirectoryProvider()
Method Detail |
---|
public void initialize(String directoryProviderName, Properties properties, BuildContext context)
initialize
in interface DirectoryProvider<org.apache.lucene.store.RAMDirectory>
context
- get the information to initialize the directory and build its hashCode/equals methodpublic void start(DirectoryBasedIndexManager indexManager)
DirectoryProvider
start
in interface DirectoryProvider<org.apache.lucene.store.RAMDirectory>
public org.apache.lucene.store.RAMDirectory getDirectory()
DirectoryProvider
getDirectory
in interface DirectoryProvider<org.apache.lucene.store.RAMDirectory>
public void stop()
DirectoryProvider
stop
in interface DirectoryProvider<org.apache.lucene.store.RAMDirectory>
protected org.apache.lucene.store.RAMDirectory makeRAMDirectory()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |