|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.journal.MemoryRevision
public class MemoryRevision
Memory-based revision, useful for testing purposes only.
Constructor Summary | |
---|---|
MemoryRevision()
|
Method Summary | |
---|---|
void |
close()
Closes the instance revision. |
long |
get()
Return current instance revision. |
void |
set(long value)
Set current instance revision. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryRevision()
Method Detail |
---|
public long get() throws JournalException
get
in interface InstanceRevision
JournalException
- if some error occurspublic void set(long value) throws JournalException
set
in interface InstanceRevision
value
- new instance revision
JournalException
- if some error occurspublic void close()
close
in interface InstanceRevision
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |