public class TransactionView extends Object
SystemView
.Constructor and Description |
---|
TransactionView(org.apache.ignite.internal.processors.cache.transactions.IgniteInternalTx tx) |
Modifier and Type | Method and Description |
---|---|
String |
cacheIds() |
boolean |
colocated() |
TransactionConcurrency |
concurrency() |
boolean |
dht() |
long |
duration() |
boolean |
implicit() |
boolean |
implicitSingle() |
boolean |
internal() |
TransactionIsolation |
isolation() |
int |
keysCount() |
String |
label() |
boolean |
local() |
UUID |
localNodeId() |
boolean |
near() |
boolean |
onePhaseCommit() |
UUID |
originatingNodeId() |
UUID |
otherNodeId() |
long |
startTime() |
TransactionState |
state() |
UUID |
subjectId() |
boolean |
system() |
long |
threadId() |
long |
timeout() |
String |
topVer() |
IgniteUuid |
xid() |
public TransactionView(org.apache.ignite.internal.processors.cache.transactions.IgniteInternalTx tx)
tx
- Transaction.public UUID localNodeId()
IgniteInternalTx.nodeId()
public long threadId()
IgniteInternalTx.threadId()
public long startTime()
IgniteInternalTx.startTime()
public TransactionIsolation isolation()
IgniteInternalTx.isolation()
public TransactionConcurrency concurrency()
IgniteInternalTx.concurrency()
public TransactionState state()
IgniteInternalTx.state()
public long timeout()
IgniteInternalTx.timeout()
public boolean implicit()
True
if transaction was started implicitly.IgniteInternalTx.implicit()
public IgniteUuid xid()
IgniteInternalTx.xid()
public boolean system()
True
if transaction is started for system cache.IgniteInternalTx.system()
public boolean implicitSingle()
IgniteInternalTx.implicitSingle()
public boolean near()
True
if near transaction.IgniteInternalTx.near()
public boolean dht()
True
if DHT transaction.IgniteInternalTx.dht()
public boolean colocated()
True
if dht colocated transaction.IgniteInternalTx.colocated()
public boolean local()
True
if transaction is local, false
if it's remote.IgniteInternalTx.local()
public UUID subjectId()
IgniteInternalTx.subjectId()
public String label()
null
if there was not set.IgniteInternalTx.label()
public boolean onePhaseCommit()
True
if transaction is a one-phase-commit transaction.IgniteInternalTx.onePhaseCommit()
public boolean internal()
True
if transaction has at least one internal entry.public UUID originatingNodeId()
IgniteInternalTx.originatingNodeId()
public UUID otherNodeId()
IgniteInternalTx.otherNodeId()
public String topVer()
IgniteInternalTx.topologyVersion()
public long duration()
IgniteInternalTx.startTime()
public int keysCount()
IgniteInternalTx.allEntries()
public String cacheIds()
IgniteTxState.cacheIds()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024