public interface JobRateLimitAlgorithm extends ShardingSphereAlgorithm, ShardingSphereAlgorithmPostProcessor, org.apache.shardingsphere.spi.singleton.SingletonSPI
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(JobOperationType type,
Number data)
Intercept.
|
getProps, getType, getTypeAliases, setPropsinitvoid intercept(JobOperationType type, Number data)
type - job operation typedata - it's delta that means how much changed if type is INSERT, DELETE, UPDATE, SELECT; it's null if type is SYSTEM_LOAD, CPU_USAGECopyright © 2022 The Apache Software Foundation. All rights reserved.