|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.spi.server.DurableLockArea
CDOLockUtil.createLockArea(String, String, CDOBranchPoint, boolean, Map)
instead
@Deprecated public class DurableLockArea
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 |
---|
public static final int DEFAULT_DURABLE_LOCKING_ID_BYTES
Constructor Detail |
---|
public DurableLockArea(String durableLockingID, String userID, CDOBranchPoint branchPoint, boolean readOnly, Map<CDOID,IDurableLockingManager.LockGrade> locks)
Method Detail |
---|
public String getDurableLockingID()
getDurableLockingID
in interface IDurableLockingManager.LockArea
public String getUserID()
getUserID
in interface IDurableLockingManager.LockArea
public CDOBranch getBranch()
CDOBranchPoint
null
if this branch point is the
base
of the main branch
.
getBranch
in interface CDOBranchPoint
public long getTimeStamp()
CDOBranchPoint
unspecified
if this branch point marks the head
of a branch.
getTimeStamp
in interface CDOBranchPoint
public boolean isReadOnly()
isReadOnly
in interface IDurableLockingManager.LockArea
public Map<CDOID,IDurableLockingManager.LockGrade> getLocks()
getLocks
in interface IDurableLockingManager.LockArea
public String toString()
toString
in class Object
public static String createDurableLockingID()
public static String createDurableLockingID(int bytes)
public boolean isMissing()
IDurableLockingManager.LockArea
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.)
isMissing
in interface IDurableLockingManager.LockArea
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |