java.lang.Object
org.apache.shardingsphere.data.pipeline.api.job.progress.JobProgress

public final class JobProgress extends Object
Job progress.
  • Constructor Details

    • JobProgress

      public JobProgress()
  • Method Details

    • getIncrementalPosition

      public Optional<IngestPosition<?>> getIncrementalPosition(String dataSourceName)
      Get incremental position.
      Parameters:
      dataSourceName - data source name
      Returns:
      incremental position
    • getInventoryPosition

      public Map<String,IngestPosition<?>> getInventoryPosition(String tableName)
      Get inventory position.
      Parameters:
      tableName - table name
      Returns:
      inventory position
    • getDataSource

      public String 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, 0 is there is no activity