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 the
commit infos
of 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 Summary
Modifier and TypeInterfaceDescriptionstatic interface
Provides consumers withhistories
.static interface
A virtualhistory
element that can be returned fromIContainer.getElements()
ifisAppendingTriggerLoadElement()
istrue
to indicate that the history is notfully
loaded, yet.Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetElement
(int index) int
boolean
boolean
isFull()
boolean
void
setAppendingTriggerLoadElement
(boolean appendingTriggerLoadElement) void
setLoadCount
(int loadCount) int
size()
boolean
boolean
triggerLoad
(CDOCommitInfoHandler handler) void
waitWhileLoading
(long timeout) Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitInfoHandler
handleCommitInfo
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
EMPTY
-
DEFAULT_LOAD_COUNT
static final int DEFAULT_LOAD_COUNT- See Also:
-
-
Method Details
-
getManager
CDOCommitInfoManager getManager() -
getBranch
CDOBranch getBranch()- Specified by:
getBranch
in interfaceCDOBranchProvider
-
isAppendingTriggerLoadElement
boolean isAppendingTriggerLoadElement() -
setAppendingTriggerLoadElement
void setAppendingTriggerLoadElement(boolean appendingTriggerLoadElement) -
getFirstElement
CDOCommitInfo getFirstElement() -
getLastElement
CDOCommitInfo getLastElement() -
getElement
-
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
-