Class EntryXtnInfo

java.lang.Object
com.j_spaces.core.server.transaction.EntryXtnInfo

public class EntryXtnInfo extends Object
contains all the per-entry transaction information. When there is no such information the object is nulled
  • Constructor Details

    • EntryXtnInfo

      public EntryXtnInfo()
    • EntryXtnInfo

      public EntryXtnInfo(EntryXtnInfo other)
  • Method Details

    • getReadLocksOwners

      public List<XtnEntry> getReadLocksOwners()
      Returns:
      Returns ReadWriteLock Transaction's Owner Lists. For internal use only.
    • addReadLockOwner

      public void addReadLockOwner(XtnEntry xtn)
    • removeReadLockOwner

      public boolean removeReadLockOwner(XtnEntry xtn)
    • clearReadLockOwners

      public void clearReadLockOwners()
    • anyReadLockXtn

      public boolean anyReadLockXtn()
    • setWriteLockOwner

      public void setWriteLockOwner(XtnEntry writeLockOwner)
      Parameters:
      writeLockOwner - the writeLockOwner to set
    • getWriteLockOwner

      public XtnEntry getWriteLockOwner()
    • getWriteLockTransaction

      public ServerTransaction getWriteLockTransaction()
      Returns:
      the m_WriteLockOwner transaction
    • setXidOriginated

      public void setXidOriginated(XtnEntry xidOriginated)
      Parameters:
      xidOriginated - the m_XidOriginated to set
    • getXidOriginated

      public XtnEntry getXidOriginated()
    • getXidOriginatedTransaction

      public ServerTransaction getXidOriginatedTransaction()
      Returns:
      the m_XidOriginated transaction
    • getOtherUpdateUnderXtnEntry

      public IEntryHolder getOtherUpdateUnderXtnEntry()
    • setOtherUpdateUnderXtnEntry

      public void setOtherUpdateUnderXtnEntry(IEntryHolder eh)
    • getWaitingFor

      public Collection<ITemplateHolder> getWaitingFor()
      Returns:
      Returns the m_WaitingFor. StoredList that holds all entries waited by templates ReadIfExists/TaleIfExists
    • initWaitingFor

      public Collection<ITemplateHolder> initWaitingFor()
    • getWriteLockOperation

      public int getWriteLockOperation()
    • setWriteLockOperation

      public void setWriteLockOperation(int writeLockOperation)
    • createCloneOrEmptyInfo

      public static EntryXtnInfo createCloneOrEmptyInfo(EntryXtnInfo original)