Class JobProgress
java.lang.Object
org.apache.shardingsphere.data.pipeline.api.job.progress.JobProgress
Job progress.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet data source.longGet incremental latest active time milliseconds.getIncrementalPosition(String dataSourceName) Get incremental position.intGet inventory finished percentage.Map<String,IngestPosition<?>> getInventoryPosition(String tableName) Get inventory position.
-
Constructor Details
-
JobProgress
public JobProgress()
-
-
Method Details
-
getIncrementalPosition
Get incremental position.- Parameters:
dataSourceName- data source name- Returns:
- incremental position
-
getInventoryPosition
Get inventory position.- Parameters:
tableName- table name- Returns:
- inventory position
-
getDataSource
Get data source.- Returns:
- data source
-
getInventoryFinishedPercentage
public int getInventoryFinishedPercentage()Get inventory finished percentage.- Returns:
- finished percentage
-
getIncrementalLatestActiveTimeMillis
public long getIncrementalLatestActiveTimeMillis()Get incremental latest active time milliseconds.- Returns:
- latest active time,
0is there is no activity
-