public class FileRevision extends Object implements InstanceRevision
| Constructor and Description |
|---|
FileRevision(File file)
Creates a new file based revision counter.
|
public FileRevision(File file) throws JournalException
file - holding global counterJournalException - if some error occurspublic long get()
throws JournalException
get in interface InstanceRevisionJournalException - if some error occurspublic void set(long value)
throws JournalException
set in interface InstanceRevisionvalue - new counter valueJournalException - if some error occurspublic void close()
close in interface InstanceRevisionCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.