|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.search.store.RAMDirectoryProvider
public class RAMDirectoryProvider
Use a Lucene RAMDirectory
| Constructor Summary | |
|---|---|
RAMDirectoryProvider()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
org.apache.lucene.store.RAMDirectory |
getDirectory()
Returns an initialized Lucene Directory. |
int |
hashCode()
|
void |
initialize(java.lang.String directoryProviderName,
java.util.Properties properties,
SearchFactoryImplementor searchFactoryImplementor)
get the information to initialize the directory and build its hashCode/equals method |
void |
start()
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(java.lang.String directoryProviderName,
java.util.Properties properties,
SearchFactoryImplementor searchFactoryImplementor)
DirectoryProvider
initialize in interface DirectoryProvider<org.apache.lucene.store.RAMDirectory>public void start()
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(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||