Package com.qfs.multiversion
Interface IBranchInfo
- All Known Implementing Classes:
BranchInfo
public interface IBranchInfo
Information about a branch.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptionlonggetEnd()Gets the id latest epoch of the branch.longGets the epoch on which this branch was created.longgetHead()Gets the epoch of the head of the branch (i.e.getName()Gets the name of the branch.Gets the branch on which this branch was created.longgetStart()Gets the first epoch of the branch.
-
Method Details
-
getName
String getName()Gets the name of the branch.- Returns:
- the name of the branch
-
getForkPoint
long getForkPoint()Gets the epoch on which this branch was created.- Returns:
- the epoch on which this branch was created
-
getParentBranch
String getParentBranch()Gets the branch on which this branch was created.- Returns:
- the branch on which this branch was created
-
getStart
long getStart()Gets the first epoch of the branch.- Returns:
- the first epoch of the branch
-
getEnd
long getEnd()Gets the id latest epoch of the branch. Note the returned id can belong to a shadow version.- Returns:
- the id latest epoch of the branch
- See Also:
-
getHead
long getHead()Gets the epoch of the head of the branch (i.e. the latest epoch of the branch which is not shadow).The result is lower or equal to
getEnd().- Returns:
- the epoch of the head of the branch
-