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 public class DurableLockArea extends java.lang.Object implements IDurableLockingManager.LockArea
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 Modifier and Type Field Description static intDEFAULT_DURABLE_LOCKING_ID_BYTESDeprecated.-
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
-
-
Constructor Summary
Constructors Constructor Description DurableLockArea(java.lang.String durableLockingID, java.lang.String userID, CDOBranchPoint branchPoint, boolean readOnly, java.util.Map<CDOID,IDurableLockingManager.LockGrade> locks)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringcreateDurableLockingID()Deprecated.static java.lang.StringcreateDurableLockingID(int bytes)Deprecated.CDOBranchgetBranch()Deprecated.Returns the branch of this branch point, ornullif this branch point is thebaseof themain branch.java.lang.StringgetDurableLockingID()Deprecated.java.util.Map<CDOID,IDurableLockingManager.LockGrade>getLocks()Deprecated.longgetTimeStamp()Deprecated.Returns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.java.lang.StringgetUserID()Deprecated.booleanisMissing()Deprecated.Returnstrueif this instance represents a lock area that is known to be missing (not present) on a master server.booleanisReadOnly()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Field Detail
-
DEFAULT_DURABLE_LOCKING_ID_BYTES
public static final int DEFAULT_DURABLE_LOCKING_ID_BYTES
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DurableLockArea
public DurableLockArea(java.lang.String durableLockingID, java.lang.String userID, CDOBranchPoint branchPoint, boolean readOnly, java.util.Map<CDOID,IDurableLockingManager.LockGrade> locks)Deprecated.
-
-
Method Detail
-
getDurableLockingID
public java.lang.String getDurableLockingID()
Deprecated.- Specified by:
getDurableLockingIDin interfaceIDurableLockingManager.LockArea
-
getUserID
public java.lang.String getUserID()
Deprecated.- Specified by:
getUserIDin interfaceIDurableLockingManager.LockArea
-
getBranch
public CDOBranch getBranch()
Deprecated.Description copied from interface:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Specified by:
getBranchin interfaceCDOBranchPoint- Specified by:
getBranchin interfaceCDOBranchProvider
-
getTimeStamp
public long getTimeStamp()
Deprecated.Description copied from interface:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Specified by:
getTimeStampin interfaceCDOBranchPoint- Specified by:
getTimeStampin interfaceCDOTimeProvider
-
isReadOnly
public boolean isReadOnly()
Deprecated.- Specified by:
isReadOnlyin interfaceIDurableLockingManager.LockArea
-
getLocks
public java.util.Map<CDOID,IDurableLockingManager.LockGrade> getLocks()
Deprecated.- Specified by:
getLocksin interfaceIDurableLockingManager.LockArea
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
createDurableLockingID
public static java.lang.String createDurableLockingID()
Deprecated.
-
createDurableLockingID
public static java.lang.String createDurableLockingID(int bytes)
Deprecated.
-
isMissing
public boolean isMissing()
Deprecated.Description copied from interface:IDurableLockingManager.LockAreaReturnstrueif 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:
isMissingin interfaceIDurableLockingManager.LockArea- Since:
- 4.1
-
-