Package com.qfs.multiversion
Interface IBranchInfo
-
- All Known Implementing Classes:
BranchInfo
public interface IBranchInfoInformation about a branch.- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEnd()Gets the id latest epoch of the branch.longgetForkPoint()Gets the epoch on which this branch was created.longgetHead()Gets the epoch of the head of the branch (i.e.StringgetName()Gets the name of the branch.StringgetParentBranch()Gets the branch on which this branch was created.longgetStart()Gets the first epoch of the branch.
-
-
-
Method Detail
-
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:
IEpoch.getId(),IEpoch.isShadow()
-
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
-
-