Class TxVerboseInfo
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.tx.TxVerboseInfo
-
- All Implemented Interfaces:
Externalizable,Serializable
public class TxVerboseInfo extends IgniteDataTransferObject
Encapsulates all verbose info about transaction needed for --tx --info output.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TxVerboseInfo()
-
Method Summary
-
Methods inherited from class org.apache.ignite.internal.dto.IgniteDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Method Detail
-
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.
-
nearXidVersion
public GridCacheVersion nearXidVersion()
- Returns:
- Near xid version.
-
nearXidVersion
public void nearXidVersion(GridCacheVersion nearXidVer)
- Parameters:
nearXidVer- New near xid version.
-
localNodeId
public UUID localNodeId()
- Returns:
- Local node id.
-
localNodeId
public void localNodeId(UUID locNodeId)
- Parameters:
locNodeId- New local node id.
-
localNodeConsistentId
public Object localNodeConsistentId()
- Returns:
- Local node consistent id.
-
localNodeConsistentId
public void localNodeConsistentId(Object locNodeConsistentId)
- Parameters:
locNodeConsistentId- New local node consistent id.
-
nearNodeId
public UUID nearNodeId()
- Returns:
- Near node id.
-
nearNodeId
public void nearNodeId(UUID nearNodeId)
- Parameters:
nearNodeId- New near node id.
-
nearNodeConsistentId
public Object nearNodeConsistentId()
- Returns:
- Near node consistent id.
-
nearNodeConsistentId
public void nearNodeConsistentId(Object nearNodeConsistentId)
- Parameters:
nearNodeConsistentId- New near node consistent id.
-
txMappingType
public TxMappingType txMappingType()
- Returns:
- Tx mapping type.
-
txMappingType
public void txMappingType(TxMappingType txMappingType)
- Parameters:
txMappingType- New tx mapping type.
-
dhtNodeId
public UUID dhtNodeId()
- Returns:
- Dht node id.
-
dhtNodeId
public void dhtNodeId(UUID dhtNodeId)
- Parameters:
dhtNodeId- New dht node id.
-
dhtNodeConsistentId
public Object dhtNodeConsistentId()
- Returns:
- Dht node consistent id.
-
dhtNodeConsistentId
public void dhtNodeConsistentId(Object dhtNodeConsistentId)
- Parameters:
dhtNodeConsistentId- New dht node consistent id.
-
usedCaches
public void usedCaches(Map<Integer,String> usedCaches)
- Parameters:
usedCaches- New used caches.
-
usedCacheGroups
public void usedCacheGroups(Map<Integer,String> usedCacheGroups)
- Parameters:
usedCacheGroups- New used cache groups.
-
localTxKeys
public List<TxVerboseKey> localTxKeys()
- Returns:
- Local tx keys.
-
localTxKeys
public void localTxKeys(List<TxVerboseKey> locTxKeys)
- Parameters:
locTxKeys- New local tx keys.
-
nearOnlyTxKeys
public List<TxVerboseKey> nearOnlyTxKeys()
- Returns:
- Near only tx keys.
-
nearOnlyTxKeys
public void nearOnlyTxKeys(List<TxVerboseKey> nearOnlyTxKeys)
- Parameters:
nearOnlyTxKeys- New near only tx keys.
-
-