public interface JobShardingStrategy extends TypedSPI
Map<JobInstance,List<Integer>> sharding(List<JobInstance> jobInstances, String jobName, int shardingTotalCount)
jobInstances - all job instances which participate in shardingjobName - job nameshardingTotalCount - sharding total countCopyright © 2020 The Apache Software Foundation. All rights reserved.