public final class MigrationJobItemContext extends Object implements InventoryIncrementalJobItemContext
| 构造器和说明 |
|---|
MigrationJobItemContext(MigrationJobConfiguration jobConfig,
int shardingItem,
InventoryIncrementalJobItemProgress initProgress,
MigrationProcessContext jobProcessContext,
MigrationTaskConfiguration taskConfig,
PipelineDataSourceManager dataSourceManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getProcessedRecordsCount()
Get processed record count.
|
PipelineDataSourceWrapper |
getSourceDataSource()
Get source data source.
|
PipelineTableMetaDataLoader |
getSourceMetaDataLoader()
Get source meta data loader.
|
boolean |
isSourceTargetDatabaseTheSame()
Is source and target database the same or not.
|
void |
onProgressUpdated(PipelineJobProgressUpdatedParameter parameter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataSourceManager, getIncrementalTasks, getInitProgress, getInventoryTasks, getJobProcessContextgetDataSourceName, getJobConfig, getJobId, getShardingItem, getStatus, isStopping, setStatus, setStoppingpublic MigrationJobItemContext(MigrationJobConfiguration jobConfig, int shardingItem, InventoryIncrementalJobItemProgress initProgress, MigrationProcessContext jobProcessContext, MigrationTaskConfiguration taskConfig, PipelineDataSourceManager dataSourceManager)
public PipelineDataSourceWrapper getSourceDataSource()
public PipelineTableMetaDataLoader getSourceMetaDataLoader()
InventoryIncrementalJobItemContextgetSourceMetaDataLoader 在接口中 InventoryIncrementalJobItemContextpublic boolean isSourceTargetDatabaseTheSame()
public void onProgressUpdated(PipelineJobProgressUpdatedParameter parameter)
onProgressUpdated 在接口中 PipelineJobProgressListenerpublic long getProcessedRecordsCount()
InventoryIncrementalJobItemContextgetProcessedRecordsCount 在接口中 InventoryIncrementalJobItemContextCopyright © 2022 The Apache Software Foundation. All rights reserved.