public interface IDurableLockingManager
branch point
and acquired locks.IDurableLockingManager.LockArea
- - managesModifier and Type | Interface and Description |
---|---|
static interface |
IDurableLockingManager.LockArea
Encapsulates the persistable information about a single durable CDO view like
branch point
and acquired locks. |
static class |
IDurableLockingManager.LockAreaAlreadyExistsException
Exception occurs when attempting to create a durable
IDurableLockingManager.LockArea that already exists. |
static class |
IDurableLockingManager.LockAreaNotFoundException
Thrown if a
lock area is spcified that does not exist in a CDO repository . |
static class |
IDurableLockingManager.LockGrade
Enumerates the possible combinations of read and write locks on a single CDO object.
|
Modifier and Type | Method and Description |
---|---|
IDurableLockingManager.LockArea |
createLockArea(String userID,
CDOBranchPoint branchPoint,
boolean readOnly,
Map<CDOID,IDurableLockingManager.LockGrade> locks) |
void |
deleteLockArea(String durableLockingID) |
IDurableLockingManager.LockArea |
getLockArea(String durableLockingID)
Returns the
lock area specified by the given durableLockingID, never null . |
void |
getLockAreas(String userIDPrefix,
IDurableLockingManager.LockArea.Handler handler) |
IDurableLockingManager.LockArea createLockArea(String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID,IDurableLockingManager.LockGrade> locks) throws IDurableLockingManager.LockAreaAlreadyExistsException
IDurableLockingManager.LockArea getLockArea(String durableLockingID) throws IDurableLockingManager.LockAreaNotFoundException
lock area
specified by the given durableLockingID, never null
.IDurableLockingManager.LockAreaNotFoundException
- if the given durableLockingID is unknown.void getLockAreas(String userIDPrefix, IDurableLockingManager.LockArea.Handler handler)
void deleteLockArea(String durableLockingID)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html