public class MemoryRevision extends Object implements InstanceRevision
Constructor and Description |
---|
MemoryRevision() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the instance revision.
|
long |
get()
Return current instance revision.
|
void |
set(long value)
Set current instance revision.
|
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 revisionJournalException
- if some error occurspublic void close()
close
in interface InstanceRevision
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.