public class XtnEntry extends XtnInfo
Modifier and Type | Field and Description |
---|---|
XtnData |
_xtnData |
m_Active, m_AlreadyPrepared, m_AnyUpdates, m_CommitRollbackTimeStamp, m_Readonly, m_SingleParticipant, m_startTime, m_Transaction
Constructor and Description |
---|
XtnEntry(ServerTransaction xtn,
boolean isBackup)
Constructs a new Xtn Entry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
anyFifoEntriesUnderXtn() |
XtnStatus |
checkAndGetState_Granular() |
boolean |
createdOnNonBackup() |
FifoBackgroundRequest.AllowFifoNotificationsForNonFifoType |
getAllowFifoNotificationsForNonFifoEntries() |
Object |
getJoinLock() |
MVCCGenerationsState |
getMVCCGenerationsState() |
int |
getNumOfChangesUnderTransaction(CacheManager cacheManager) |
XtnData |
getXtnData() |
boolean |
isActive()
Returns true is new operations can still attach to this transaction, false otherwise
(transaction was already committed for example)
|
void |
setMVCCGenerationsState(MVCCGenerationsState mvccGenerationsState) |
boolean |
setUnusedIfPossible(int unusedCleanTime,
boolean includeGlobalXtns) |
addUsedIfPossible, decrementUsed, decrementUsed, getLastUsageTime, getOverrideVersionUids, getServerTransaction, getStartTime, getStatus, isFromGateway, isFromReplication, isOnlyEmbeddedJoins, isOperatedUpon, isUsed, setFromGateway, setFromReplication, setGatewayOverrideVersion, setOnlyEmbeddedJoins, setOperatedUpon, setStatus
lock, tryLock, unlock
public final transient XtnData _xtnData
public XtnEntry(ServerTransaction xtn, boolean isBackup)
public Object getJoinLock()
public boolean isActive()
public XtnStatus checkAndGetState_Granular()
public XtnData getXtnData()
public boolean anyFifoEntriesUnderXtn()
public int getNumOfChangesUnderTransaction(CacheManager cacheManager)
public FifoBackgroundRequest.AllowFifoNotificationsForNonFifoType getAllowFifoNotificationsForNonFifoEntries()
public boolean createdOnNonBackup()
public MVCCGenerationsState getMVCCGenerationsState()
public void setMVCCGenerationsState(MVCCGenerationsState mvccGenerationsState)
public boolean setUnusedIfPossible(int unusedCleanTime, boolean includeGlobalXtns)
setUnusedIfPossible
in class XtnInfo
Copyright © GigaSpaces.