public interface TaggableChangeLogStore extends ChangeLogStore
Modifier and Type | Method and Description |
---|---|
Tag |
getLatest()
Gets the latest tag if one was at all taken.
|
Tag |
removeTag(long revision)
Removes a Tag created for a given revision.
|
Tag |
tag()
Creates a snapshot of the server at the current revision.
|
Tag |
tag(long revision)
Creates a tag for a snapshot of the server in a specific state at a revision.
|
Tag |
tag(long revision,
String descrition)
Creates a tag with the given description for a snapshot of the server
in a specific state at a revision.
|
Tag |
tag(String description)
Creates a snapshot of the server at the current revision with a description
of the snapshot tag.
|
destroy, find, find, findAfter, findBefore, getCurrentRevision, init, log, log, lookup, sync
Tag tag(long revision) throws Exception
revision
- the revision to tag the snapshotException
- if there is a problem taking a tag, or if
the revision does not existTag tag() throws Exception
Exception
- if there is a problem taking a tagTag tag(String description) throws Exception
description
- a description of the state associate with the tagException
- if there is a problem taking a tagTag getLatest() throws Exception
Exception
- on failures to access the tag storeTag removeTag(long revision) throws Exception
revision
- the revision number that was taggedException
- on failures to access the tag storeTag tag(long revision, String descrition) throws Exception
revision
- the revision number that was taggeddescrition
- a description of the state associate with the tagException
- on failures to access the tag storeCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.