org.eclipse.emf.cdo.common.commit
Interface CDOCommitHistory
- All Superinterfaces:
- CDOCommitInfoHandler, IContainer<CDOCommitInfo>, INotifier
- All Known Subinterfaces:
- CDOObjectHistory
- public interface CDOCommitHistory
- extends IContainer<CDOCommitInfo>, CDOCommitInfoHandler
A cache for the commit infos of a branch or of an entire repository.
- Since:
- 4.2
EMPTY
static final CDOCommitHistory EMPTY
DEFAULT_LOAD_COUNT
static final int DEFAULT_LOAD_COUNT
- See Also:
- Constant Field Values
getManager
CDOCommitInfoManager getManager()
getBranch
CDOBranch getBranch()
isAppendingTriggerLoadElement
boolean isAppendingTriggerLoadElement()
setAppendingTriggerLoadElement
void setAppendingTriggerLoadElement(boolean appendingTriggerLoadElement)
getFirstElement
CDOCommitInfo getFirstElement()
getLastElement
CDOCommitInfo getLastElement()
getElement
CDOCommitInfo getElement(int index)
size
int size()
isFull
boolean isFull()
isLoading
boolean isLoading()
waitWhileLoading
void waitWhileLoading(long timeout)
getLoadCount
int getLoadCount()
setLoadCount
void setLoadCount(int loadCount)
triggerLoad
boolean triggerLoad()
triggerLoad
boolean triggerLoad(CDOCommitInfoHandler handler)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.