Package org.eclipse.emf.cdo.common.lock

# Schnittstelle IDurableLockingManager

Alle bekannten Unterschnittstellen:
  `ILissomeStoreAccessor`, `ILockingManager`, `InternalLockManager`, `IStoreAccessor.DurableLocking`, `IStoreAccessor.DurableLocking2`

public interface IDurableLockingManager
Manages all persistent aspects of durable CDO views such as `branch point` and acquired locks.

Seit:
  4.0
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Schnittstelle
Beschreibung
`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 specified that does not exist in a CDO `repository`.
`static enum`
`IDurableLockingManager.LockGrade`
Enumerates the possible combinations of read and write locks on a single CDO object.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`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)`

## Methodendetails

### createLockArea

IDurableLockingManager.LockArea createLockArea(String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID,IDurableLockingManager.LockGrade> locks) throws IDurableLockingManager.LockAreaAlreadyExistsException

Löst aus:
  `IDurableLockingManager.LockAreaAlreadyExistsException`

### getLockArea

IDurableLockingManager.LockArea getLockArea(String durableLockingID) throws IDurableLockingManager.LockAreaNotFoundException
Returns the `lock area` specified by the given durableLockingID, never `null`.

Löst aus:
  `IDurableLockingManager.LockAreaNotFoundException` - if the given durableLockingID is unknown.

### getLockAreas

void getLockAreas(String userIDPrefix, IDurableLockingManager.LockArea.Handler handler)

### deleteLockArea

void deleteLockArea(String durableLockingID)