Class EntryXtnInfo
java.lang.Object
com.j_spaces.core.server.transaction.EntryXtnInfo
contains all the per-entry transaction information. When there is no such information the object
is nulled
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReadLockOwner(XtnEntry xtn) booleanvoidstatic EntryXtnInfocreateCloneOrEmptyInfo(EntryXtnInfo original) intbooleanvoidvoidsetWriteLockOperation(int writeLockOperation) voidsetWriteLockOwner(XtnEntry writeLockOwner) voidsetXidOriginated(XtnEntry xidOriginated)
-
Constructor Details
-
EntryXtnInfo
public EntryXtnInfo() -
EntryXtnInfo
-
-
Method Details
-
getReadLocksOwners
- Returns:
- Returns ReadWriteLock Transaction's Owner Lists. For internal use only.
-
addReadLockOwner
-
removeReadLockOwner
-
clearReadLockOwners
public void clearReadLockOwners() -
anyReadLockXtn
public boolean anyReadLockXtn() -
setWriteLockOwner
- Parameters:
writeLockOwner- the writeLockOwner to set
-
getWriteLockOwner
-
getWriteLockTransaction
- Returns:
- the m_WriteLockOwner transaction
-
setXidOriginated
- Parameters:
xidOriginated- the m_XidOriginated to set
-
getXidOriginated
-
getXidOriginatedTransaction
- Returns:
- the m_XidOriginated transaction
-
getOtherUpdateUnderXtnEntry
-
setOtherUpdateUnderXtnEntry
-
getWaitingFor
- Returns:
- Returns the m_WaitingFor. StoredList that holds all entries waited by templates ReadIfExists/TaleIfExists
-
initWaitingFor
-
getWriteLockOperation
public int getWriteLockOperation() -
setWriteLockOperation
public void setWriteLockOperation(int writeLockOperation) -
createCloneOrEmptyInfo
-