Package org.eclipse.emf.cdo.view
Class CDOPrefetcherManager.Prefetcher
java.lang.Object
org.eclipse.emf.cdo.view.CDOPrefetcherManager.Prefetcher
- Enclosing class:
- CDOPrefetcherManager
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorsConstructorDescriptionPrefetcher(CDOView view, boolean prefetchLockStates) Prefetcher(CDOView view, CDOID rootID, boolean prefetchLockStates) -
Method Summary
Modifier and TypeMethodDescriptionprotected CDORevisionaddRevision(CDORevision revision) The caller must synchronize on this prefetcher.protected voidprotected voidcleanup()protected voiddispose()final intgetSize()final CDOViewgetView()final voidhandleRevisions(CDORevisionHandler handler) final booleanprotected voidprefetch()protected voidrevisionIgnored(CDORevision revision) Subclasses may override.protected voidrevisionRemoved(CDORevision revision) Subclasses may override.
-
Constructor Details
-
Prefetcher
-
Prefetcher
-
-
Method Details
-
getView
-
getSize
public final int getSize() -
isDisposed
public final boolean isDisposed() -
handleRevisions
-
prefetch
protected void prefetch() -
changeBranchPoint
protected void changeBranchPoint() -
cleanup
protected void cleanup() -
dispose
protected void dispose() -
addRevision
The caller must synchronize on this prefetcher. -
revisionRemoved
Subclasses may override.When this method is called the calling thread is holding the prefetcher lock. Do not pass control to a different thread which might attempt to access the prefetcher!
-
revisionIgnored
Subclasses may override.
-