Class FindAndDeleteGarbageInPersistenceJobResult
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.cache.FindAndDeleteGarbageInPersistenceJobResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class FindAndDeleteGarbageInPersistenceJobResult extends IgniteDataTransferObject
Result of job work which is sent between nodes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FindAndDeleteGarbageInPersistenceJobResult()For externalization only.FindAndDeleteGarbageInPersistenceJobResult(@NotNull Map<Integer,Map<Integer,Long>> result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Integer,Map<Integer,Long>>checkResult()booleanhasGarbage()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringtoString()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
-
FindAndDeleteGarbageInPersistenceJobResult
public FindAndDeleteGarbageInPersistenceJobResult(@NotNull @NotNull Map<Integer,Map<Integer,Long>> result)- Parameters:
result- Results with founded garbage (GroupId -> (CacheId, Count of keys)).
-
FindAndDeleteGarbageInPersistenceJobResult
public FindAndDeleteGarbageInPersistenceJobResult()
For externalization only.
-
-
Method Detail
-
checkResult
public Map<Integer,Map<Integer,Long>> checkResult()
- Returns:
- Results of indexes validation from node.
-
hasGarbage
public boolean hasGarbage()
- Returns:
trueIf any indexes issues found on node, otherwise returnsfalse.
-
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.
-
-