Class WalTaskResult
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorDataTransferObject
-
- org.apache.ignite.internal.management.wal.WalTaskResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class WalTaskResult extends VisorDataTransferObject
Result ofWalTask.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WalTaskResult()Default constructor.WalTaskResult(Map<String,Collection<String>> results, Map<String,Exception> exceptions, Map<String,ClusterNode> nodesInfo)CreateWalTaskresult with given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Exception>exceptions()Get occurred errors by node consistent id.Map<String,ClusterNode>getNodesInfo()Get nodes info by node consistent id.protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.Map<String,Collection<String>>results()StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.visor.VisorDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
WalTaskResult
public WalTaskResult()
Default constructor.
-
WalTaskResult
public WalTaskResult(Map<String,Collection<String>> results, Map<String,Exception> exceptions, Map<String,ClusterNode> nodesInfo)
CreateWalTaskresult with given parameters.- Parameters:
results- List of log search results.exceptions- List of exceptions by node id.nodesInfo- Nodes info.
-
-
Method Detail
-
exceptions
public Map<String,Exception> exceptions()
Get occurred errors by node consistent id.- Returns:
- Exceptions by node consistent id.
-
results
public Map<String,Collection<String>> results()
- Returns:
- List of archived wal segments path search results by node consistent id.
-
getNodesInfo
public Map<String,ClusterNode> getNodesInfo()
Get nodes info by node consistent id.- Returns:
- Nodes info.
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classVisorDataTransferObject- 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 classVisorDataTransferObject- 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.
-
-