|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.lucis.core.impl.RAMStore<T>
T - Checkpoint type.public class RAMStore<T>
RAM-based store.
| Constructor Summary | |
|---|---|
RAMStore()
|
|
RAMStore(Store<T> store)
|
|
| 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. |
| 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 RAMStore(Store<T> store)
throws Exception
Exceptionpublic RAMStore()
| Method Detail |
|---|
public Directory getDirectory()
DirectoryProvider
getDirectory in interface DirectoryProviderpublic T getCheckpoint()
Store
getCheckpoint in interface Store<T>public Object getVersion()
DirectoryProvider
getVersion in interface DirectoryProviderpublic void setCheckpoint(T checkpoint)
Store
setCheckpoint in interface Store<T>checkpoint - Checkpoint to set. Must not be null.
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 | |||||||||