tomcat源码阅读8

org.apache.catalina.cluster.session 包。

这块文档太差劲了吧,开源项目的文档啊,哎!没有把英文去掉,读者尽量看吧,我也没搞明白很多!!

Interface Summary
SessionMessage

该类在Tomcat集群节点中有Session对象创建修改或者终结的时候使用

Class Summary
ClusterListener

Receive SessionID cluster change from other backup node after primary session node is failed.

在主Session节点失败后,从其它回退节点获取SessionID集群的改变。

ClusterSessionListener

Receive replicated SessionMessage form other cluster node.

获取SessionMessage 形成其它集群节点

Constants

Manifest constants for the org.apache.catalina.cluster.session package.

DeltaManager

The DeltaManager manages replicated sessions by only replicating the deltas in data.

该类复制复制Session,但是只复制数据中的delta

DeltaRequest 无内容
DeltaSession

Similar to the StandardSession, this code is identical, but for update and some small issues, simply copied in the first release.

跟StandardSession相似,该代码跟第一次的时候相同,只是有升级和一些小的问题改变。

DeltaSessionFacade

Facade for the DeltaSession object.

DeltaSession 类的外观类

JvmRouteBinderValve

Valve to handle Tomcat jvmRoute takeover using mod_jk module after node failure.

晕菜》。。。

JvmRouteSessionIDBinderLifecycleListener Deprecated.   过时
JvmRouteSessionIDBinderListener

Receive SessionID cluster change from other backup node after primary session node is failed.

(跟第一个类中的注释相同,晕菜!!!)

ReplicatedSession 无内容
ReplicationStream

Custom subclass of ObjectInputStream that loads from the class loader for this web application.

SerializablePrincipal 无内容
SessionIDMessage

Session id change cluster message

Session id 改变集群消息(不明白,只能这么译了)

SessionMessageImpl

Session cluster message

Session集群消息

SimpleTcpReplicationManager

Title: Tomcat Session Replication for Tomcat 4.0
Description: A very simple straight forward implementation of session replication of servers in a cluster.

晕菜!!!

原文地址:https://www.cnblogs.com/macula7/p/1960515.html