public interface CDORevisionCache extends CDORevisionCacheAdder, INotifier
revisions
and possibly evicts
those that are no longer strongly
referenced when free memory runs low.Modifier and Type | Interface and Description |
---|---|
static interface |
CDORevisionCache.EvictionEvent
An
event fired from a revision cache for revisions that
are evicted because they are no longer strongly referenced when free memory runs low. |
Modifier and Type | Field and Description |
---|---|
static CDORevisionCache |
NOOP |
Modifier and Type | Method and Description |
---|---|
List<CDORevision> |
getCurrentRevisions()
Returns a list of
revisions that are current. |
EClass |
getObjectType(CDOID id) |
CDORevision |
getRevision(CDOID id,
CDOBranchPoint branchPoint) |
CDORevision |
getRevisionByVersion(CDOID id,
CDOBranchVersion branchVersion) |
addRevision
addListener, getListeners, hasListeners, removeListener
static final CDORevisionCache NOOP
CDORevision getRevision(CDOID id, CDOBranchPoint branchPoint)
CDORevision getRevisionByVersion(CDOID id, CDOBranchVersion branchVersion)
List<CDORevision> getCurrentRevisions()
revisions
that are current.Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.