org.eclipse.emf.cdo.spi.common.branch
Interface InternalCDOBranchManager.BranchLoader
- All Known Subinterfaces:
- CDOSessionProtocol, IDBStoreAccessor, IHibernateStoreAccessor, IMongoDBStoreAccessor, InternalFailoverParticipant, InternalRepository, InternalSynchronizableRepository, IObjectivityStoreAccessor, IStoreAccessor, IStoreAccessor.Raw
- All Known Implementing Classes:
- LongIDStoreAccessor, StoreAccessor, StoreAccessorBase
- Enclosing interface:
- InternalCDOBranchManager
- public static interface InternalCDOBranchManager.BranchLoader
- Since:
- 3.0
NEW_BRANCH
static final int NEW_BRANCH
- Passed as the branchID in
createBranch(int, BranchInfo)
causes a new non-local branch to be created.
- See Also:
- Constant Field Values
NEW_LOCAL_BRANCH
static final int NEW_LOCAL_BRANCH
- Passed as the branchID in
createBranch(int, BranchInfo)
causes a new local branch to be created.
- See Also:
- Constant Field Values
createBranch
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 to
NEW_BRANCH
the implementor
of this method will determine a new positive unique branch id. If the id is equal to NEW_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
InternalCDOBranchManager.BranchLoader.BranchInfo loadBranch(int branchID)
loadSubBranches
InternalCDOBranchManager.BranchLoader.SubBranchInfo[] loadSubBranches(int branchID)
loadBranches
int loadBranches(int startID,
int endID,
CDOBranchHandler branchHandler)
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.