Interface CDOCommitInfoManager
- All Superinterfaces:
CDOCommitHistory.Provider<CDOBranch,,CDOCommitHistory> CDOCommitInfoProvider
- All Known Subinterfaces:
InternalCDOCommitInfoManager
public interface CDOCommitInfoManager
extends CDOCommitInfoProvider, CDOCommitHistory.Provider<CDOBranch,CDOCommitHistory>
Provides access to
commit info objects.- Since:
- 3.0
- Author:
- Andre Dietisheim
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptiongetBaseOfBranch(CDOBranch branch) getCommitInfo(long timeStamp) Same as callinggetCommitInfo(timeStamp, true).getCommitInfo(long timeStamp, boolean loadOnDemand) Returns the commit info for the given time stamp.getCommitInfo(CDOBranch branch, long startTime, boolean up) voidgetCommitInfos(CDOBranch branch, long startTime, long endTime, CDOCommitInfoHandler handler) voidgetCommitInfos(CDOBranch branch, long startTime, String reserved1, String reserved2, int count, CDOCommitInfoHandler handler) getFirstOfBranch(CDOBranch branch) longlonggetLastCommitOfBranch(CDOBranch branch, boolean loadOnDemand) getLastOfBranch(CDOBranch branch) Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitHistory.Provider
getHistory, getHistoryMethods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitInfoProvider
addCommitInfoHandler, getCommitInfoHandlers, removeCommitInfoHandler
-
Method Details
-
getRepository
CDOCommonRepository getRepository()- Since:
- 4.2
-
getCommitInfo
Same as callinggetCommitInfo(timeStamp, true).- Since:
- 4.0
-
getCommitInfo
Returns the commit info for the given time stamp. If no such commit info is locally available, it is loaded from the repository ifloadOnDemandistrue. Note that this method may returnnulleven ifloadOnDemandistruein case no such commit info exists in the repository.- Parameters:
timeStamp- the time stamp of the commit info to retrieve.loadOnDemand- whether to load the commit info from the repository if not locally available.- Returns:
- the commit info for the given time stamp or
nullif no such commit info exists. - Since:
- 4.6
-
getCommitInfo
- Since:
- 4.2
-
getCommitInfos
-
getCommitInfos
void getCommitInfos(CDOBranch branch, long startTime, String reserved1, String reserved2, int count, CDOCommitInfoHandler handler) - Since:
- 4.0
-
getBaseOfBranch
- Since:
- 4.2
-
getFirstOfBranch
- Since:
- 4.2
-
getLastOfBranch
- Since:
- 4.2
-
getLastCommitOfBranch
- Since:
- 4.6
-
getLastCommit
long getLastCommit()- Since:
- 4.6
-