public class VisorTxInfo extends VisorDataTransferObject
| Constructor and Description |
|---|
VisorTxInfo()
Default constructor.
|
VisorTxInfo(IgniteUuid xid,
long startTime,
long duration,
TransactionIsolation isolation,
TransactionConcurrency concurrency,
long timeout,
String lb,
Collection<UUID> primaryNodes,
TransactionState state,
int size,
IgniteUuid nearXid,
Collection<UUID> masterNodeIds,
AffinityTopologyVersion topVer,
TxVerboseInfo info) |
VisorTxInfo(IgniteUuid xid,
TransactionState state)
Constructor for historical mode.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionConcurrency |
getConcurrency() |
long |
getDuration() |
String |
getFormattedStartTime() |
TransactionIsolation |
getIsolation() |
String |
getLabel() |
@Nullable Collection<UUID> |
getMasterNodeIds() |
@Nullable IgniteUuid |
getNearXid() |
Collection<UUID> |
getPrimaryNodes() |
byte |
getProtocolVersion() |
int |
getSize() |
long |
getStartTime() |
TransactionState |
getState() |
long |
getTimeout() |
AffinityTopologyVersion |
getTopologyVersion() |
TxVerboseInfo |
getTxVerboseInfo() |
IgniteUuid |
getXid() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
String |
toUserString()
Get tx info as user string.
|
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
readExternal, toList, toSet, writeExternalpublic VisorTxInfo()
public VisorTxInfo(IgniteUuid xid, long startTime, long duration, TransactionIsolation isolation, TransactionConcurrency concurrency, long timeout, String lb, Collection<UUID> primaryNodes, TransactionState state, int size, IgniteUuid nearXid, Collection<UUID> masterNodeIds, AffinityTopologyVersion topVer, TxVerboseInfo info)
xid - Xid.startTime - Start time of transaction.duration - Duration.isolation - Isolation.concurrency - Concurrency.timeout - Timeout.lb - Label.primaryNodes - Primary nodes.state - State.size - Size.info - Verbose TX info.public VisorTxInfo(IgniteUuid xid, TransactionState state)
xid - Xid.state - State.public byte getProtocolVersion()
getProtocolVersion in class VisorDataTransferObjectpublic IgniteUuid getXid()
public long getStartTime()
public String getFormattedStartTime()
public long getDuration()
public TransactionIsolation getIsolation()
public TransactionConcurrency getConcurrency()
public AffinityTopologyVersion getTopologyVersion()
public long getTimeout()
public String getLabel()
public Collection<UUID> getPrimaryNodes()
public TransactionState getState()
public int getSize()
@Nullable public @Nullable IgniteUuid getNearXid()
@Nullable public @Nullable Collection<UUID> getMasterNodeIds()
public TxVerboseInfo getTxVerboseInfo()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.public String toUserString()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023