Package org.eclipse.emf.cdo.common.lock
Interface IDurableLockingManager.LockArea
-
- All Superinterfaces:
CDOBranchPoint,CDOBranchProvider,CDOTimeProvider
- All Known Implementing Classes:
DurableLockArea
- Enclosing interface:
- IDurableLockingManager
public static interface IDurableLockingManager.LockArea extends CDOBranchPoint
Encapsulates the persistable information about a single durable CDO view likebranch pointand acquired locks.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIDurableLockingManager.LockArea.HandlerA call-back interface for handlinglock areaobjects.
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_DURABLE_LOCKING_ID_BYTES-
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDurableLockingID()java.util.Map<CDOID,IDurableLockingManager.LockGrade>getLocks()java.lang.StringgetUserID()booleanisMissing()Returnstrueif this instance represents a lock area that is known to be missing (not present) on a master server.booleanisReadOnly()-
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getBranch, getTimeStamp
-
-
-
-
Field Detail
-
DEFAULT_DURABLE_LOCKING_ID_BYTES
static final int DEFAULT_DURABLE_LOCKING_ID_BYTES
- Since:
- 4.1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDurableLockingID
java.lang.String getDurableLockingID()
-
getUserID
java.lang.String getUserID()
-
isReadOnly
boolean isReadOnly()
-
getLocks
java.util.Map<CDOID,IDurableLockingManager.LockGrade> getLocks()
-
isMissing
boolean isMissing()
Returnstrueif this instance represents a lock area that is known to be missing (not present) on a master server. (Relevant only in a replicating configuration.)- Since:
- 4.1
-
-