Package org.eclipse.emf.cdo.spi.server
Class DurableLockArea
java.lang.Object
org.eclipse.emf.cdo.spi.server.DurableLockArea
- All Implemented Interfaces:
CDOBranchPoint
,CDOBranchProvider
,IDurableLockingManager.LockArea
,CDOTimeProvider
Deprecated.
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 4.0
- Author:
- Eike Stepper
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.lock.IDurableLockingManager.LockArea
IDurableLockingManager.LockArea.Handler
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
Constructor Summary
ConstructorDescriptionDurableLockArea
(String durableLockingID, String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID, IDurableLockingManager.LockGrade> locks) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Deprecated.static String
createDurableLockingID
(int bytes) Deprecated.Deprecated.Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.Deprecated.getLocks()
Deprecated.long
Deprecated.Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.Deprecated.boolean
Deprecated.Returnstrue
if this instance represents a lock area that is known to be missing (not present) on a master server.boolean
Deprecated.toString()
Deprecated.
-
Field Details
-
DEFAULT_DURABLE_LOCKING_ID_BYTES
public static final int DEFAULT_DURABLE_LOCKING_ID_BYTESDeprecated.- See Also:
-
-
Constructor Details
-
DurableLockArea
public DurableLockArea(String durableLockingID, String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID, IDurableLockingManager.LockGrade> locks) Deprecated.
-
-
Method Details
-
getDurableLockingID
Deprecated.- Specified by:
getDurableLockingID
in interfaceIDurableLockingManager.LockArea
-
getUserID
Deprecated.- Specified by:
getUserID
in interfaceIDurableLockingManager.LockArea
-
getBranch
Deprecated.Description copied from interface:CDOBranchPoint
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.- Specified by:
getBranch
in interfaceCDOBranchPoint
- Specified by:
getBranch
in interfaceCDOBranchProvider
-
getTimeStamp
public long getTimeStamp()Deprecated.Description copied from interface:CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.- Specified by:
getTimeStamp
in interfaceCDOBranchPoint
- Specified by:
getTimeStamp
in interfaceCDOTimeProvider
-
isReadOnly
public boolean isReadOnly()Deprecated.- Specified by:
isReadOnly
in interfaceIDurableLockingManager.LockArea
-
getLocks
Deprecated.- Specified by:
getLocks
in interfaceIDurableLockingManager.LockArea
-
toString
Deprecated. -
createDurableLockingID
Deprecated. -
createDurableLockingID
Deprecated. -
isMissing
public boolean isMissing()Deprecated.Description copied from interface:IDurableLockingManager.LockArea
Returnstrue
if this instance represents a lock area that is known to be missing (not present) on a master server. (Relevant only in a replicating configuration.)- Specified by:
isMissing
in interfaceIDurableLockingManager.LockArea
- Since:
- 4.1
-
CDOLockUtil.createLockArea(String, String, CDOBranchPoint, boolean, Map)
instead