Interface CDOCommitHistory
- 
- All Superinterfaces:
- CDOBranchProvider,- CDOCommitInfoHandler,- org.eclipse.net4j.util.container.IContainer<CDOCommitInfo>,- org.eclipse.net4j.util.event.INotifier
 - All Known Subinterfaces:
- CDOObjectHistory
 
 public interface CDOCommitHistory extends org.eclipse.net4j.util.container.IContainer<CDOCommitInfo>, CDOBranchProvider, CDOCommitInfoHandler A cache for thecommit infosof a branch or of an entire repository.- Since:
- 4.2
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceCDOCommitHistory.Provider<KEY,HISTORY extends CDOCommitHistory>Provides consumers withhistories.static interfaceCDOCommitHistory.TriggerLoadElementA virtualhistoryelement that can be returned fromIContainer.getElements()ifisAppendingTriggerLoadElement()istrueto indicate that the history is notfullyloaded, yet.- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_LOAD_COUNTstatic CDOCommitHistoryEMPTY
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOBranchgetBranch()CDOCommitInfogetElement(int index)CDOCommitInfogetFirstElement()CDOCommitInfogetLastElement()intgetLoadCount()CDOCommitInfoManagergetManager()booleanisAppendingTriggerLoadElement()booleanisFull()booleanisLoading()voidsetAppendingTriggerLoadElement(boolean appendingTriggerLoadElement)voidsetLoadCount(int loadCount)intsize()booleantriggerLoad()booleantriggerLoad(CDOCommitInfoHandler handler)voidwaitWhileLoading(long timeout)- 
Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitInfoHandlerhandleCommitInfo
 
- 
 
- 
- 
- 
Field Detail- 
EMPTYstatic final CDOCommitHistory EMPTY 
 - 
DEFAULT_LOAD_COUNTstatic final int DEFAULT_LOAD_COUNT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getManagerCDOCommitInfoManager getManager() 
 - 
getBranchCDOBranch getBranch() - Specified by:
- getBranchin interface- CDOBranchProvider
 
 - 
isAppendingTriggerLoadElementboolean isAppendingTriggerLoadElement() 
 - 
setAppendingTriggerLoadElementvoid setAppendingTriggerLoadElement(boolean appendingTriggerLoadElement) 
 - 
getFirstElementCDOCommitInfo getFirstElement() 
 - 
getLastElementCDOCommitInfo getLastElement() 
 - 
getElementCDOCommitInfo getElement(int index) 
 - 
sizeint size() 
 - 
isFullboolean isFull() 
 - 
isLoadingboolean isLoading() 
 - 
waitWhileLoadingvoid waitWhileLoading(long timeout) 
 - 
getLoadCountint getLoadCount() 
 - 
setLoadCountvoid setLoadCount(int loadCount) 
 - 
triggerLoadboolean triggerLoad() 
 - 
triggerLoadboolean triggerLoad(CDOCommitInfoHandler handler) 
 
- 
 
-