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
Job completion detect algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAlmostCompleted(T parameter) Whether job is almost completed.Methods inherited from interface org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm
getPropsMethods inherited from interface org.apache.shardingsphere.spi.lifecycle.SPIPostProcessor
initMethods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI
getType, getTypeAliases
-
Method Details
-
isAlmostCompleted
Whether job is almost completed.- Parameters:
parameter- parameter- Returns:
- almost completed or not
-