|
||||||||||
| 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. |
org.apache.lucene.store.Directory |
getDirectory()
Returns the underlying directory. |
java.lang.Object |
getVersion()
Returns the current version. |
void |
setCheckpoint(T checkpoint)
Sets the current checkpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RAMStore(Store<T> store)
throws java.lang.Exception
java.lang.Exceptionpublic RAMStore()
| Method Detail |
|---|
public org.apache.lucene.store.Directory getDirectory()
DirectoryProvider
getDirectory in interface DirectoryProviderpublic T getCheckpoint()
Store
getCheckpoint in interface Store<T>public java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||