public class XtnInfo extends ReentrantSimpleLock
Modifier and Type | Field and Description |
---|---|
boolean |
m_Active |
boolean |
m_AlreadyPrepared |
boolean |
m_AnyUpdates |
long |
m_CommitRollbackTimeStamp |
boolean |
m_Readonly |
boolean |
m_SingleParticipant |
long |
m_startTime |
ServerTransaction |
m_Transaction |
Constructor and Description |
---|
XtnInfo(ServerTransaction xtn)
Constructs a new Xtn info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addUsedIfPossible() |
void |
decrementUsed() |
void |
decrementUsed(boolean disableUnusedXtnCleanupInServer) |
long |
getLastUsageTime() |
Set<String> |
getOverrideVersionUids() |
ServerTransaction |
getServerTransaction() |
long |
getStartTime() |
XtnStatus |
getStatus() |
boolean |
isFromGateway() |
boolean |
isFromReplication() |
boolean |
isOnlyEmbeddedJoins() |
boolean |
isOperatedUpon() |
boolean |
isUsed() |
void |
setFromGateway() |
void |
setFromReplication(boolean isFromReplication) |
void |
setGatewayOverrideVersion(String uid) |
boolean |
setOnlyEmbeddedJoins(boolean val) |
void |
setOperatedUpon() |
void |
setStatus(XtnStatus m_Status) |
boolean |
setUnUsedIfPossible(int unusedCleanTime,
boolean includeGlobalXtns) |
lock, tryLock, unlock
public final ServerTransaction m_Transaction
public final boolean m_Readonly
public boolean m_Active
public boolean m_AlreadyPrepared
public long m_CommitRollbackTimeStamp
public boolean m_SingleParticipant
public boolean m_AnyUpdates
public final long m_startTime
public XtnInfo(ServerTransaction xtn)
public ServerTransaction getServerTransaction()
public long getStartTime()
public boolean isFromReplication()
public void setFromReplication(boolean isFromReplication)
isFromReplication
- the isFromReplication to setpublic void setStatus(XtnStatus m_Status)
m_Status
- the m_Status to setpublic XtnStatus getStatus()
public boolean isUsed()
public boolean addUsedIfPossible()
public void decrementUsed()
public void decrementUsed(boolean disableUnusedXtnCleanupInServer)
public boolean setUnUsedIfPossible(int unusedCleanTime, boolean includeGlobalXtns)
public boolean isOperatedUpon()
public void setOperatedUpon()
public long getLastUsageTime()
public boolean isOnlyEmbeddedJoins()
public boolean setOnlyEmbeddedJoins(boolean val)
public boolean isFromGateway()
public void setFromGateway()
public void setGatewayOverrideVersion(String uid)
Copyright © GigaSpaces.