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,
java.lang.String descrition)
Creates a tag with the given description for a snapshot of the server
in a specific state at a revision.
|
Tag |
tag(java.lang.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, syncTag tag(long revision) throws java.lang.Exception
revision - the revision to tag the snapshotjava.lang.Exception - if there is a problem taking a tag, or if
the revision does not existTag tag() throws java.lang.Exception
java.lang.Exception - if there is a problem taking a tagTag tag(java.lang.String description) throws java.lang.Exception
description - a description of the state associate with the tagjava.lang.Exception - if there is a problem taking a tagTag getLatest() throws org.apache.directory.api.ldap.model.exception.LdapException
java.lang.Exception - on failures to access the tag storeorg.apache.directory.api.ldap.model.exception.LdapExceptionTag removeTag(long revision) throws java.lang.Exception
revision - the revision number that was taggedjava.lang.Exception - on failures to access the tag storeTag tag(long revision, java.lang.String descrition) throws java.lang.Exception
revision - the revision number that was taggeddescrition - a description of the state associate with the tagjava.lang.Exception - on failures to access the tag store