|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.lucis.core.impl.ReindexingFSStore
public class ReindexingFSStore
File system-based reindexing store.
| Constructor Summary | |
|---|---|
ReindexingFSStore(String indexDir)
|
|
| Method Summary | |
|---|---|
String |
getCheckpoint()
Returns the current checkpoint. |
Directory |
getDestinationDirectory()
Returns the directory in which the new index must be created. |
Directory |
getDirectory()
Returns the underlying directory. |
IndexReader |
getManagedReader()
Returns a managed index reader for the store. |
String |
getName()
Returns the name of the object or the class name if no one was provided. |
Object |
getVersion()
Returns the current version. |
void |
reindexed(String checkpoint)
Called when a reindexing process has been completed. |
void |
setName(String name)
Sets the object name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.lucis.core.DirectoryProvider |
|---|
getManagedReader |
| Constructor Detail |
|---|
public ReindexingFSStore(String indexDir)
| Method Detail |
|---|
public Directory getDirectory()
DirectoryProvider
getDirectory in interface DirectoryProviderpublic Directory getDestinationDirectory()
ReindexingStore
getDestinationDirectory in interface ReindexingStore
public String getCheckpoint()
throws StoreException
ReindexingStore
getCheckpoint in interface ReindexingStorenull if no checkpoint is available.
StoreExceptionpublic void reindexed(String checkpoint)
ReindexingStore
reindexed in interface ReindexingStorecheckpoint - New index checkpoint.public Object getVersion()
DirectoryProvider
getVersion in interface DirectoryProvider
public final IndexReader getManagedReader()
throws IOException
DirectoryProvider
getManagedReader in interface DirectoryProviderIOExceptionpublic final String getName()
public final void setName(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||