|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.lucis.core.impl.FSStore<T>
T - Checkpoint type.public class FSStore<T>
File system-based store.
| Constructor Summary | |
|---|---|
FSStore(Checkpoint<T> serializer,
String indexDir)
|
|
| Method Summary | |
|---|---|
T |
getCheckpoint()
Returns the current checkpoint. |
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 |
setCheckpoint(T checkpoint)
Sets the current checkpoint. |
void |
setName(String name)
Sets the object name. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.lucis.core.DirectoryProvider |
|---|
getManagedReader |
| Constructor Detail |
|---|
public FSStore(Checkpoint<T> serializer,
String indexDir)
| Method Detail |
|---|
public Directory getDirectory()
DirectoryProvider
getDirectory in interface DirectoryProviderpublic T getCheckpoint()
Store
getCheckpoint in interface Store<T>public void setCheckpoint(T checkpoint)
Store
setCheckpoint in interface Store<T>checkpoint - Checkpoint to set. Must not be null.public Object getVersion()
DirectoryProvider
getVersion in interface DirectoryProviderpublic String toString()
toString in class Object
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 | |||||||||