Class IndexRebuildStatusInfoContainer
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.cache.IndexRebuildStatusInfoContainer
-
- All Implemented Interfaces:
Externalizable,Serializable
public class IndexRebuildStatusInfoContainer extends IgniteDataTransferObject
Container for index rebuild status info.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexRebuildStatusInfoContainer()Empty constructor required for Serializable.IndexRebuildStatusInfoContainer(GridCacheContext<?,?> cctx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcacheName()static Comparator<IndexRebuildStatusInfoContainer>comparator()booleanequals(Object o)StringgroupName()inthashCode()intindexBuildPartitionsLeftCount()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringtoString()inttotalPartitionsCount()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
-
-
-
-
Field Detail
-
EMPTY_GROUP_NAME
public static final String EMPTY_GROUP_NAME
Empty group name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexRebuildStatusInfoContainer
public IndexRebuildStatusInfoContainer()
Empty constructor required for Serializable.
-
IndexRebuildStatusInfoContainer
public IndexRebuildStatusInfoContainer(GridCacheContext<?,?> cctx)
-
-
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.
-
groupName
public String groupName()
- Returns:
- Group name.
-
cacheName
public String cacheName()
- Returns:
- Cache name.
-
totalPartitionsCount
public int totalPartitionsCount()
- Returns:
- Total local node partitions count.
-
indexBuildPartitionsLeftCount
public int indexBuildPartitionsLeftCount()
- Returns:
- The number of local node partitions that remain to be processed to complete indexing.
-
toString
public String toString()
-
comparator
public static Comparator<IndexRebuildStatusInfoContainer> comparator()
- Returns:
- Custom comparator.
-
-