Package org.apache.ignite.internal.visor
Class VisorDataTransferObject
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorDataTransferObject
-
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
BaselineAutoAdjustSettings,BaselineNode,BaselineTaskResult,CacheAffinityConfiguration,CacheConfiguration,CacheConfigurationCollectorTaskArg,CacheDistributionGroup,CacheDistributionNode,CacheDistributionPartition,CacheDistributionTaskResult,CacheEvictionConfiguration,CacheInfo,CacheJdbcType,CacheJdbcTypeField,CacheNearConfiguration,CacheRebalanceConfiguration,CacheResetLostPartitionsTaskResult,CacheStoreConfiguration,ClearCachesTaskResult,ClusterNode,ContentionJobResult,ContentionTaskResult,IdleVerifyDumpResult,IdleVerifyResultV2,IndexIntegrityCheckIssue,IndexValidationIssue,PartitionHashRecordV2,PartitionKeyV2,QueryConfiguration,QueryEntity,QueryIndex,QueryIndexField,SnapshotMetadataVerificationTaskArg,SnapshotPartitionsVerifyTaskArg,TxInfo,TxTaskResult,ValidateIndexesPartitionResult,ValidateIndexesTaskResult,ViewCacheTaskResult,VisorComputeCancelSessionsTaskArg,VisorTaskArgument,WalTaskResult
public abstract class VisorDataTransferObject extends Object implements Externalizable
Deprecated.UseIgniteDataTransferObjectinstead. This class may be removed in Ignite 3.0.Base class for data transfer objects for Visor tasks.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VisorDataTransferObject()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description bytegetProtocolVersion()Deprecated.voidreadExternal(ObjectInput in)Deprecated.protected abstract voidreadExternalData(byte protoVer, ObjectInput in)Deprecated.Load object's specific data content.protected static <T> @Nullable List<T>toList(Collection<T> col)Deprecated.protected static <T> @Nullable Set<T>toSet(Collection<T> col)Deprecated.voidwriteExternal(ObjectOutput out)Deprecated.protected abstract voidwriteExternalData(ObjectOutput out)Deprecated.Save object's specific data content.
-
-
-
Field Detail
-
V1
protected static final byte V1
Deprecated.Version 1.- See Also:
- Constant Field Values
-
V2
protected static final byte V2
Deprecated.Version 2.- See Also:
- Constant Field Values
-
V3
protected static final byte V3
Deprecated.Version 3.- See Also:
- Constant Field Values
-
V4
protected static final byte V4
Deprecated.Version 4.- See Also:
- Constant Field Values
-
V5
protected static final byte V5
Deprecated.Version 5.- See Also:
- Constant Field Values
-
-
Method Detail
-
toList
@Nullable protected static <T> @Nullable List<T> toList(Collection<T> col)
Deprecated.- Type Parameters:
T- Collection type.- Parameters:
col- Source collection.- Returns:
- List based on passed collection.
-
toSet
@Nullable protected static <T> @Nullable Set<T> toSet(Collection<T> col)
Deprecated.- Type Parameters:
T- Collection type.- Parameters:
col- Source collection.- Returns:
- List based on passed collection.
-
getProtocolVersion
public byte getProtocolVersion()
Deprecated.- Returns:
- Transfer object version.
-
writeExternalData
protected abstract void writeExternalData(ObjectOutput out) throws IOException
Deprecated.Save object's specific data content.- Parameters:
out- Output object to write data content.- Throws:
IOException- If I/O errors occur.
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
Deprecated.- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternalData
protected abstract void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundExceptionDeprecated.Load object's specific data content.- 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.
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
Deprecated.- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-