Package org.gridgain.internal.recovery
Class PartitionRecovery
java.lang.Object
org.gridgain.internal.recovery.PartitionRecovery
- All Implemented Interfaces:
Recovery
Partition recovery.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVersion of the temporary table created for recovery. -
Constructor Summary
ConstructorsConstructorDescriptionPartitionRecovery(StorageProvider storageProvider, TableDataProvider dataProvider, @Nullable org.apache.ignite.internal.schema.BinaryRowUpgrader rowUpgrader, int partitionId, org.apache.ignite.internal.hlc.HybridTimestamp timestamp, ExecutorService threadPool, int batchSize, boolean lastInChain, RowsStatisticAccumulator rowsStatisticAccumulator) Constructor. -
Method Summary
-
Field Details
-
TEMP_TABLE_SCHEMA_VERSION
public static final int TEMP_TABLE_SCHEMA_VERSIONVersion of the temporary table created for recovery.- See Also:
-
-
Constructor Details
-
PartitionRecovery
public PartitionRecovery(StorageProvider storageProvider, TableDataProvider dataProvider, @Nullable @Nullable org.apache.ignite.internal.schema.BinaryRowUpgrader rowUpgrader, int partitionId, org.apache.ignite.internal.hlc.HybridTimestamp timestamp, ExecutorService threadPool, int batchSize, boolean lastInChain, RowsStatisticAccumulator rowsStatisticAccumulator) Constructor.- Parameters:
storageProvider- Partition storage provider.dataProvider- Table data provider.rowUpgrader- Optional row upgrader.partitionId- Partition ID.timestamp- Timestamp to recovery.threadPool- Working thread pool.batchSize- Recovery batch size.lastInChain- If this recovery of the partition is last in chain (i.e. for incremental snapshots, when partitions are restored in multiple stages).rowsStatisticAccumulator- Rows statistic accumulator.
-
-
Method Details