public class VisorTxInfo extends VisorDataTransferObject
V1, V2, V3| Constructor and Description |
|---|
VisorTxInfo()
Default constructor.
|
VisorTxInfo(IgniteUuid xid,
long duration,
TransactionIsolation isolation,
TransactionConcurrency concurrency,
long timeout,
String lb,
Collection<UUID> primaryNodes,
TransactionState state,
int size) |
| Modifier and Type | Method and Description |
|---|---|
TransactionConcurrency |
getConcurrency() |
long |
getDuration() |
TransactionIsolation |
getIsolation() |
String |
getLabel() |
Collection<UUID> |
getPrimaryNodes() |
int |
getSize() |
TransactionState |
getState() |
long |
getTimeout() |
IgniteUuid |
getXid() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorTxInfo()
public VisorTxInfo(IgniteUuid xid, long duration, TransactionIsolation isolation, TransactionConcurrency concurrency, long timeout, String lb, Collection<UUID> primaryNodes, TransactionState state, int size)
xid - Xid.duration - Duration.isolation - Isolation.concurrency - Concurrency.timeout - Timeout.lb - Label.primaryNodes - Primary nodes.state - State.size - Size.public IgniteUuid getXid()
public long getDuration()
public TransactionIsolation getIsolation()
public TransactionConcurrency getConcurrency()
public long getTimeout()
public String getLabel()
public Collection<UUID> getPrimaryNodes()
public TransactionState getState()
public int getSize()
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.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018