|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
|
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>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||