Schnittstelle InternalCDORevisionManager
- Alle Superschnittstellen:
CDORevisionCacheAdder,CDORevisionInterner,CDORevisionManager,org.eclipse.net4j.util.lifecycle.IDeactivateable,org.eclipse.net4j.util.lifecycle.ILifecycle,org.eclipse.net4j.util.event.INotifier
- Alle bekannten Implementierungsklassen:
DelegatingCDORevisionManager
public interface InternalCDORevisionManager
extends CDORevisionManager, CDORevisionInterner, CDORevisionCacheAdder, org.eclipse.net4j.util.lifecycle.ILifecycle
If the meaning of this type isn't clear, there really should be more of a description here...
- Seit:
- 3.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 interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...static interfaceIf the meaning of this type isn't clear, there really should be more of a description here...Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddRevision(CDORevision revision) Veraltet.getBaseRevision(CDORevision revision, int referenceChunk, boolean loadOnDemand) getCache()getRevision(CDOID id, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand) Returns therevisionwith the givenIDat the givenbranch point(branch + timestamp), optionally demand loading it if it is not already in thecache.getRevision(CDOID id, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand, SyntheticCDORevision[] synthetics) getRevisionByVersion(CDOID id, CDOBranchVersion branchVersion, int referenceChunk, boolean loadOnDemand) Returns therevisionwith the givenIDat the givenbranch version(branch + version), optionally demand loading it if it is not already in thecache.getRevisions(List<CDOID> ids, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean prefetchLockStates, boolean loadOnDemand, SyntheticCDORevision[] synthetics) getRevisions(List<CDOID> ids, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand, SyntheticCDORevision[] synthetics) booleanbooleanvoidprefetchRevisions(CDOID id, CDOBranchPoint branchPoint, int prefetchDepth, boolean prefetchLockStates, Consumer<CDORevision> consumer) voidreviseLatest(CDOID id, CDOBranch branch) Called on client via postCommit when there is no version of detached objects available.voidreviseVersion(CDOID id, CDOBranchVersion branchVersion, long timeStamp) voidsetCache(CDORevisionCache cache) voidsetFactory(CDORevisionFactory factory) voidsetRevisionLoader(InternalCDORevisionManager.RevisionLoader revisionLoader) voidsetRevisionLocker(InternalCDORevisionManager.RevisionLocker revisionLocker) voidsetSupportingAudits(boolean on) voidsetSupportingBranches(boolean on) Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionInterner
internRevisionVon Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionManager
containsRevision, containsRevisionByVersion, getObjectLifetime, getObjectType, getObjectType, getRevisions, getRevisions, handleRevisionsVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Methodendetails
-
isSupportingAudits
boolean isSupportingAudits()- Seit:
- 4.0
-
setSupportingAudits
void setSupportingAudits(boolean on) - Seit:
- 4.0
-
isSupportingBranches
boolean isSupportingBranches() -
setSupportingBranches
void setSupportingBranches(boolean on) -
getRevisionLoader
InternalCDORevisionManager.RevisionLoader getRevisionLoader() -
setRevisionLoader
-
getRevisionLocker
InternalCDORevisionManager.RevisionLocker getRevisionLocker() -
setRevisionLocker
-
getFactory
CDORevisionFactory getFactory() -
setFactory
-
getCache
InternalCDORevisionCache getCache() -
setCache
- Seit:
- 4.0
-
reviseLatest
Called on client via postCommit when there is no version of detached objects available. -
reviseVersion
-
prefetchRevisions
void prefetchRevisions(CDOID id, CDOBranchPoint branchPoint, int prefetchDepth, boolean prefetchLockStates, Consumer<CDORevision> consumer) - Seit:
- 4.15
-
getRevisions
List<CDORevision> getRevisions(List<CDOID> ids, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand, SyntheticCDORevision[] synthetics) -
getRevisions
List<CDORevision> getRevisions(List<CDOID> ids, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean prefetchLockStates, boolean loadOnDemand, SyntheticCDORevision[] synthetics) - Seit:
- 4.15
-
getRevision
InternalCDORevision getRevision(CDOID id, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand, SyntheticCDORevision[] synthetics) -
getRevision
InternalCDORevision getRevision(CDOID id, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand) Beschreibung aus Schnittstelle kopiert:CDORevisionManagerReturns therevisionwith the givenIDat the givenbranch point(branch + timestamp), optionally demand loading it if it is not already in thecache.- Angegeben von:
getRevisionin SchnittstelleCDORevisionManager- Parameter:
referenceChunk- The number of targetIDsto load for each many-valued reference in the returned revision, orCDORevision.UNCHUNKEDfor all such list elements (IDs).prefetchDepth- The number of nested containment levels to load revisions for in one round trip. Use the symbolic constantsCDORevision.DEPTH_INFINITEto prefetch all contained revisions orCDORevision.DEPTH_NONEto not prefetch anything. Only the explicitly requested revision is returned by this method. If additional revisions are prefetched they are placed in the revision cache to speed up subsequent calls to this method.loadOnDemand- If the requested revision is not contained in the revision cache it depends on this parameter's value whether the revision is loaded from the server ornullis returned.- Siehe auch:
-
getRevisionByVersion
InternalCDORevision getRevisionByVersion(CDOID id, CDOBranchVersion branchVersion, int referenceChunk, boolean loadOnDemand) Beschreibung aus Schnittstelle kopiert:CDORevisionManagerReturns therevisionwith the givenIDat the givenbranch version(branch + version), optionally demand loading it if it is not already in thecache.Prefetching of nested containment levels is not support by this method because the version of a particular revision can not serve as a reasonable baseline criterium for a consistent graph of multiple revisions.
- Angegeben von:
getRevisionByVersionin SchnittstelleCDORevisionManager- Parameter:
referenceChunk- The number of targetIDsto load for each many-valued reference in the returned revision, orCDORevision.UNCHUNKEDfor all such list elements (IDs).loadOnDemand- If the requested revision is not contained in the revision cache it depends on this parameter's value whether the revision is loaded from the server ornullis returned.- Siehe auch:
-
getBaseRevision
- Seit:
- 4.8
-
addRevision
Veraltet.As of 4.15 useCDORevisionInterner.internRevision(CDORevision).Beschreibung aus Schnittstelle kopiert:CDORevisionCacheAdderAdds the given revision to this cache.- Angegeben von:
addRevisionin SchnittstelleCDORevisionCacheAdder
-
CDORevisionInterner.internRevision(CDORevision).