Interface JobCompletionDetectAlgorithm<T>

Type Parameters:
T - type of completion detect parameter
All Superinterfaces:
ShardingSphereAlgorithm, org.apache.shardingsphere.spi.lifecycle.SPIPostProcessor, org.apache.shardingsphere.spi.type.typed.TypedSPI

public interface JobCompletionDetectAlgorithm<T> extends ShardingSphereAlgorithm
Job completion detect algorithm.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAlmostCompleted(T parameter)
    Whether job is almost completed.

    Methods inherited from interface org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm

    getProps

    Methods inherited from interface org.apache.shardingsphere.spi.lifecycle.SPIPostProcessor

    init

    Methods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI

    getType, getTypeAliases
  • Method Details

    • isAlmostCompleted

      boolean isAlmostCompleted(T parameter)
      Whether job is almost completed.
      Parameters:
      parameter - parameter
      Returns:
      almost completed or not