org.eclipse.emf.cdo.spi.server
Class DurableLockArea

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.server.DurableLockArea
All Implemented Interfaces:
CDOBranchPoint, IDurableLockingManager.LockArea

Deprecated. Use CDOLockUtil.createLockArea(String, String, CDOBranchPoint, boolean, Map) instead

@Deprecated
public class DurableLockArea
  
extends Object
implements IDurableLockingManager.LockArea

Since:
4.0
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
static int DEFAULT_DURABLE_LOCKING_ID_BYTES
          Deprecated.  
 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
 
Constructor Summary
DurableLockArea(String durableLockingID, String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID,IDurableLockingManager.LockGrade> locks)
          Deprecated.  
 
Method Summary
static String createDurableLockingID()
          Deprecated.  
static String createDurableLockingID(int bytes)
          Deprecated.  
 CDOBranch getBranch()
          Deprecated. Returns the branch of this branch point, or null if this branch point is the base of the main branch.
 String getDurableLockingID()
          Deprecated.  
 Map<CDOID,IDurableLockingManager.LockGrade> getLocks()
          Deprecated.  
 long getTimeStamp()
          Deprecated. Returns the time stamp of this branch point, or the fixed special time stamp unspecified if this branch point marks the head of a branch.
 String getUserID()
          Deprecated.  
 boolean isMissing()
          Deprecated. Returns true if this instance represents a lock area that is known to be missing (not present) on a master server.
 boolean isReadOnly()
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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(String durableLockingID,
                       String userID,
                       CDOBranchPoint branchPoint,
                       boolean readOnly,
                       Map<CDOID,IDurableLockingManager.LockGrade> locks)
Deprecated. 
Method Detail

getDurableLockingID

public String getDurableLockingID()
Deprecated. 
Specified by:
getDurableLockingID in interface IDurableLockingManager.LockArea

getUserID

public String getUserID()
Deprecated. 
Specified by:
getUserID in interface IDurableLockingManager.LockArea

getBranch

public CDOBranch getBranch()
Deprecated. 
Description copied from interface: CDOBranchPoint
Returns the branch of this branch point, or null if this branch point is the base of the main branch.

Specified by:
getBranch in interface CDOBranchPoint

getTimeStamp

public long getTimeStamp()
Deprecated. 
Description copied from interface: CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stamp unspecified if this branch point marks the head of a branch.

Specified by:
getTimeStamp in interface CDOBranchPoint

isReadOnly

public boolean isReadOnly()
Deprecated. 
Specified by:
isReadOnly in interface IDurableLockingManager.LockArea

getLocks

public Map<CDOID,IDurableLockingManager.LockGrade> getLocks()
Deprecated. 
Specified by:
getLocks in interface IDurableLockingManager.LockArea

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

createDurableLockingID

public static String createDurableLockingID()
Deprecated. 

createDurableLockingID

public static String createDurableLockingID(int bytes)
Deprecated. 

isMissing

public boolean isMissing()
Deprecated. 
Description copied from interface: IDurableLockingManager.LockArea
Returns true 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 interface IDurableLockingManager.LockArea
Since:
4.1


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.