|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A cache for the commit infos
of a branch or of an entire repository.
Nested Class Summary | |
---|---|
static interface |
CDOCommitHistory.Provider<KEY,HISTORY extends CDOCommitHistory>
Provides consumers with histories . |
static interface |
CDOCommitHistory.TriggerLoadElement
A virtual history element that can be returned from IContainer.getElements()
if isAppendingTriggerLoadElement() is true to indicate that
the history is not fully loaded, yet. |
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
IContainer.Modifiable<E> |
Field Summary | |
---|---|
static int |
DEFAULT_LOAD_COUNT
|
static CDOCommitHistory |
EMPTY
|
Method Summary | |
---|---|
CDOBranch |
getBranch()
|
CDOCommitInfo |
getElement(int index)
|
CDOCommitInfo |
getFirstElement()
|
CDOCommitInfo |
getLastElement()
|
int |
getLoadCount()
|
CDOCommitInfoManager |
getManager()
|
boolean |
isAppendingTriggerLoadElement()
|
boolean |
isFull()
|
boolean |
isLoading()
|
void |
setAppendingTriggerLoadElement(boolean appendingTriggerLoadElement)
|
void |
setLoadCount(int loadCount)
|
int |
size()
|
boolean |
triggerLoad()
|
boolean |
triggerLoad(CDOCommitInfoHandler handler)
|
void |
waitWhileLoading(long timeout)
|
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 |
Methods inherited from interface org.eclipse.emf.cdo.common.commit.CDOCommitInfoHandler |
---|
handleCommitInfo |
Field Detail |
---|
static final CDOCommitHistory EMPTY
static final int DEFAULT_LOAD_COUNT
Method Detail |
---|
CDOCommitInfoManager getManager()
CDOBranch getBranch()
boolean isAppendingTriggerLoadElement()
void setAppendingTriggerLoadElement(boolean appendingTriggerLoadElement)
CDOCommitInfo getFirstElement()
CDOCommitInfo getLastElement()
CDOCommitInfo getElement(int index)
int size()
boolean isFull()
boolean isLoading()
void waitWhileLoading(long timeout)
int getLoadCount()
void setLoadCount(int loadCount)
boolean triggerLoad()
boolean triggerLoad(CDOCommitInfoHandler handler)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |