Interface InternalCDOBranchManager.BranchLoader
- All Known Subinterfaces:
CDOSessionProtocol
,IDBStoreAccessor
,ILissomeStoreAccessor
,IMongoDBStoreAccessor
,InternalCDOBranchManager.BranchLoader2
,InternalCDOBranchManager.BranchLoader3
,InternalCDOBranchManager.BranchLoader4
,InternalCDOBranchManager.BranchLoader5
,InternalFailoverParticipant
,InternalRepository
,InternalSynchronizableRepository
,IStoreAccessor
,IStoreAccessor.Raw
,IStoreAccessor.Raw2
,IStoreAccessor.UnitSupport
- All Known Implementing Classes:
LongIDStoreAccessor
,StoreAccessor
,StoreAccessorBase
- Enclosing interface:
- InternalCDOBranchManager
public static interface InternalCDOBranchManager.BranchLoader
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 3.0
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
If the meaning of this type isn't clear, there really should be more of a description here...static final class
If the meaning of this type isn't clear, there really should be more of a description here... -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Passed as the branchID increateBranch(int, BranchInfo)
causes a new non-local branch to be created.static final int
Passed as the branchID increateBranch(int, BranchInfo)
causes a new local branch to be created. -
Method Summary
Modifier and TypeMethodDescriptioncreateBranch
(int branchID, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo) Creates a new branch with the given id and branch info.loadBranch
(int branchID) int
loadBranches
(int startID, int endID, CDOBranchHandler branchHandler) loadSubBranches
(int branchID)
-
Field Details
-
NEW_BRANCH
static final int NEW_BRANCHPassed as the branchID increateBranch(int, BranchInfo)
causes a new non-local branch to be created.- See Also:
-
NEW_LOCAL_BRANCH
static final int NEW_LOCAL_BRANCHPassed as the branchID increateBranch(int, BranchInfo)
causes a new local branch to be created.- See Also:
-
-
Method Details
-
createBranch
org.eclipse.net4j.util.collection.Pair<Integer,Long> createBranch(int branchID, InternalCDOBranchManager.BranchLoader.BranchInfo branchInfo) Creates a new branch with the given id and branch info. If the id is equal toNEW_BRANCH
the implementor of this method will determine a new positive unique branch id. If the id is equal toNEW_LOCAL_BRANCH
the implementor of this method will determine a new negative unique branch id, so that the new branch becomes a local branch. In either case the used branch id is returned to the caller.- Since:
- 4.0
-
loadBranch
-
loadSubBranches
-
loadBranches
-