tomcat源码阅读步骤九

来源:互联网 发布:angular1.0.1.min.js 编辑:程序博客网 时间:2024/04/28 22:46

tomcat源码阅读9

org.apache.catalina.cluster.util

Interface SummaryIDynamicProperty IQueue队列接口

Class SummaryFastQueue

A fast queue that remover thread lock the adder thread.

不知所云....

LinkObject

The class LinkObject implements an element for a linked list, consisting of a general data object and a pointer to the next element.

链表,持有数据和指向下一个元素的指针。

SingleRemoveSynchronizedAddLock

The class SingleRemoveSynchronizedAddLock implement locking for accessing the queue by a single remove thread and multiple add threads.

队列支持多线程添加,但是删除的时候是单线程的。

SmartQueue SmartQueue.SmartEntry 
0 0