Class TxVerboseKey
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.tx.TxVerboseKey
-
- All Implemented Interfaces:
Externalizable,Serializable
public class TxVerboseKey extends IgniteDataTransferObject
Encapsulates info about transaction key and its lock ownership for --tx --info output.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TxVerboseKey()Default constructor.TxVerboseKey(String txKey, TxKeyLockType lockType, GridCacheVersion ownerVer, boolean read)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TxKeyLockTypelockType()GridCacheVersionownerVersion()booleanread()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringtoString()StringtxKey()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.dto.IgniteDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
TxVerboseKey
public TxVerboseKey()
Default constructor.
-
TxVerboseKey
public TxVerboseKey(String txKey, TxKeyLockType lockType, GridCacheVersion ownerVer, boolean read)
- Parameters:
txKey- Tx key.lockType- Lock type.ownerVer- Owner version.read- Read.
-
-
Method Detail
-
txKey
public String txKey()
- Returns:
- Tx key.
-
lockType
public TxKeyLockType lockType()
- Returns:
- Lock type.
-
ownerVersion
public GridCacheVersion ownerVersion()
- Returns:
- Owner version.
-
read
public boolean read()
- Returns:
- Read.
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classIgniteDataTransferObject- Parameters:
out- Output object to write data content.- Throws:
IOException- If I/O errors occur.
-
readExternalData
protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundExceptionLoad object's specific data content.- Specified by:
readExternalDatain classIgniteDataTransferObject- Parameters:
protoVer- Input object version.in- Input object to load data content.- Throws:
IOException- If I/O errors occur.ClassNotFoundException- If the class for an object being restored cannot be found.
-
-