public interface CDOCommitHistory extends IContainer<CDOCommitInfo>, CDOBranchProvider, CDOCommitInfoHandler
commit infos
of a branch or of an entire repository.Modifier and Type | Interface and Description |
---|---|
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. |
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LOAD_COUNT |
static CDOCommitHistory |
EMPTY |
Modifier and Type | Method and Description |
---|---|
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) |
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
handleCommitInfo
static final CDOCommitHistory EMPTY
static final int DEFAULT_LOAD_COUNT
CDOCommitInfoManager getManager()
CDOBranch getBranch()
getBranch
in interface CDOBranchProvider
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)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html