Interface InstanceRevision
-
- All Known Implementing Classes:
DatabaseJournal.DatabaseRevision
,FileRevision
,MemoryRevision
public interface InstanceRevision
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Closes the instance revision.long
get()
Return current instance revision.void
set(long value)
Set current instance revision.
-
-
-
Method Detail
-
get
long get() throws JournalException
Return current instance revision.- Returns:
- instance revision
- Throws:
JournalException
- if some error occurs
-
set
void set(long value) throws JournalException
Set current instance revision.- Parameters:
value
- new instance revision- Throws:
JournalException
- if some error occurs
-
close
void close()
Closes the instance revision.
-
-