| 类 | 说明 |
|---|---|
| ExecutorRouteBusyover |
Created by xuxueli on 17/3/10.
|
| ExecutorRouteConsistentHash |
分组下机器地址相同,不同JOB均匀散列在不同机器上,保证分组下机器分配JOB平均;且每个JOB固定调度其中一台机器;
a、virtual node:解决不均衡问题
b、hash method replace hashCode:String的hashCode可能重复,需要进一步扩大hashCode的取值范围
Created by xuxueli on 17/3/10.
|
| ExecutorRouteFailover |
Created by xuxueli on 17/3/10.
|
| ExecutorRouteFirst |
Created by xuxueli on 17/3/10.
|
| ExecutorRouteLast |
Created by xuxueli on 17/3/10.
|
| ExecutorRouteLFU |
单个JOB对应的每个执行器,使用频率最低的优先被选举
a(*)、LFU(Least Frequently Used):最不经常使用,频率/次数
b、LRU(Least Recently Used):最近最久未使用,时间
Created by xuxueli on 17/3/10.
|
| ExecutorRouteLRU |
单个JOB对应的每个执行器,最久为使用的优先被选举
a、LFU(Least Frequently Used):最不经常使用,频率/次数
b(*)、LRU(Least Recently Used):最近最久未使用,时间
Created by xuxueli on 17/3/10.
|
| ExecutorRouteRandom |
Created by xuxueli on 17/3/10.
|
| ExecutorRouteRound |
Created by xuxueli on 17/3/10.
|
Copyright © 2022. All rights reserved.