public interface CDORevisionCache extends CDORevisionCacheAdder, INotifier
revisions
and possibly evicts
those that are no longer strongly
referenced when free memory runs low.CDORevision
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) 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