|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaggableChangeLogStore
A ChangeLogStore which allows tagging for tracking server state snapshots. At most one tag per revision can be created. There is no point to creating more than one tag on a revision in our case for snapshotting server state.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.apache.directory.server.core.changelog.ChangeLogStore |
---|
destroy, find, find, findAfter, findBefore, getCurrentRevision, init, log, log, lookup, sync |
Method Detail |
---|
Tag tag(long revision) throws java.lang.Exception
revision
- the revision to tag the snapshot
java.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 tag
java.lang.Exception
- if there is a problem taking a tagTag getLatest() throws java.lang.Exception
java.lang.Exception
- on failures to access the tag storeTag removeTag(long revision) throws java.lang.Exception
revision
- the revision number that was tagged
java.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 tag
java.lang.Exception
- on failures to access the tag store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |