Schnittstelle CDORevisionCache
- Alle Superschnittstellen:
CDORevisionCacheAdder
,org.eclipse.net4j.util.event.INotifier
- Alle bekannten Unterschnittstellen:
InternalCDORevisionCache
public interface CDORevisionCache
extends CDORevisionCacheAdder, org.eclipse.net4j.util.event.INotifier
Caches
revisions
and possibly evicts
those that are no longer strongly
referenced when free memory runs low.- Seit:
- 4.0
- Autor:
- 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.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interface
static interface
Anevent
fired from arevision cache
forrevisions
that are evicted because they are no longer strongly referenced when free memory runs low.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addRevision
(CDORevision revision) Veraltet.void
forEachCurrentRevision
(Consumer<CDORevision> consumer) Passes eachrevision
that is current into the given consumer.void
forEachRevision
(Consumer<CDORevision> consumer) Passes eachrevision
into the given consumer.void
forEachValidRevision
(CDOBranchPoint branchPoint, boolean considerBranchBases, Consumer<CDORevision> consumer) Passes eachrevision
that is valid at the givenbranch point
(or optionally at the base ranch points) into the given consumer.Returns a list ofrevisions
that are current.getObjectType
(CDOID id) getRevision
(CDOID id, CDOBranchPoint branchPoint) getRevisionByVersion
(CDOID id, CDOBranchVersion branchVersion) Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Felddetails
-
NOOP
- Seit:
- 3.0
-
-
Methodendetails
-
getObjectType
-
getRevision
- Seit:
- 3.0
-
getRevisionByVersion
- Seit:
- 3.0
-
getCurrentRevisions
List<CDORevision> getCurrentRevisions()Returns a list ofrevisions
that are current.- Seit:
- 3.0
-
forEachCurrentRevision
Passes eachrevision
that is current into the given consumer.- Seit:
- 4.9
-
forEachValidRevision
void forEachValidRevision(CDOBranchPoint branchPoint, boolean considerBranchBases, Consumer<CDORevision> consumer) Passes eachrevision
that is valid at the givenbranch point
(or optionally at the base ranch points) into the given consumer.- Seit:
- 4.15
-
forEachRevision
Passes eachrevision
into the given consumer.- Seit:
- 4.15
-
addRevision
Veraltet.As of 4.15 useCDORevisionInterner.internRevision(CDORevision)
.Beschreibung aus Schnittstelle kopiert:CDORevisionCacheAdder
Adds the given revision to this cache.- Angegeben von:
addRevision
in SchnittstelleCDORevisionCacheAdder
-
CDORevisionInterner.internRevision(CDORevision)
.