round-robin实现

1)插入n条数据

insert into test values(3, 'text');

2)调用链

320行第一次为0,第二次为1

3)实现原理

3.1)roundRobinNode是一个链表

 

 

3.2)如果下一个元素不是队尾,取值

如果是队尾,取队头,顺序遍历

posted @ 2021-09-29 00:21  stupidstan2019  阅读(71)  评论(0)    收藏  举报