Class IndexRebuildCacheInfo
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.processors.query.aware.IndexRebuildCacheInfo
-
- All Implemented Interfaces:
Externalizable,Serializable
public class IndexRebuildCacheInfo extends IgniteDataTransferObject
Information about the cache for which index rebuilding was started. Designed for MetaStorage.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexRebuildCacheInfo()Default constructor forExternalizable.IndexRebuildCacheInfo(String cacheName, boolean recreate)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcacheName()Getting cache name.bytegetProtocolVersion()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.booleanrecreate()StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.dto.IgniteDataTransferObject
readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
IndexRebuildCacheInfo
public IndexRebuildCacheInfo()
Default constructor forExternalizable.
-
IndexRebuildCacheInfo
public IndexRebuildCacheInfo(String cacheName, boolean recreate)
Constructor.- Parameters:
cacheName- Cache name.recreate-Trueif index.bin recreating,falseotherwise.
-
-
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.
-
cacheName
public String cacheName()
Getting cache name.- Returns:
- Cache name.
-
recreate
public boolean recreate()
- Returns:
Trueif index.bin recreating,falseotherwise.
-
getProtocolVersion
public byte getProtocolVersion()
- Overrides:
getProtocolVersionin classIgniteDataTransferObject- Returns:
- Transfer object version.
-
-