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 InstanceRevisionJournalException - if some error occurspublic void set(long value)
         throws JournalException
set in interface InstanceRevisionvalue - new instance revisionJournalException - if some error occurspublic void close()
close in interface InstanceRevisionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.