Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.catalina.cluster.session: Javadoc index of package org.apache.catalina.cluster.session.


Package Samples:

org.apache.catalina.cluster.session

Classes:

JvmRouteBinderValve: Valve to handle Tomcat jvmRoute takeover using mod_jk module after node failure. After a node crashed the next request going to other cluster node. Now the answering from apache is slower ( make some error handshaking. Very bad with apache at my windows.). We rewrite now the cookie jsessionid information to the backup cluster node. After the next response all client request goes direct to the backup node. The change sessionid send also to all other cluster nodes. Well, now the session stickyness work directly to the backup node and traffic don't go back too restarted cluster nodes! At all cluster ...
SessionMessage: Class Description: The SessionMessage class is a class that is used when a session has been created, modified, expired in a Tomcat cluster node. The following events are currently available: public static final int EVT_SESSION_CREATED public static final int EVT_SESSION_ACCESSED public static final int EVT_ATTRIBUTE_ADDED public static final int EVT_ATTRIBUTE_REMOVED public static final int EVT_SESSION_EXPIRED_WONOTIFY public static final int EVT_SESSION_EXPIRED_WNOTIFY public static final int EVT_GET_ALL_SESSIONS public static final int EVT_SET_USER_PRINCIPAL public static final int EVT_SET_SESSION_NOTE ...
DeltaSession: Similar to the StandardSession, this code is identical, but for update and some small issues, simply copied in the first release. This session will keep track of deltas during a request. IMPLEMENTATION NOTE : An instance of this class represents both the internal (Session) and application level (HttpSession) view of the session. However, because the class itself is not declared public, Java logic outside of the org.apache.catalina.session package cannot cast an HttpSession view of this instance back to a Session view. IMPLEMENTATION NOTE : If you add fields to this class, you must make sure that ...
SimpleTcpReplicationManager: Title: Tomcat Session Replication for Tomcat 4.0 Description: A very simple straight forward implementation of session replication of servers in a cluster. This session replication is implemented "live". By live I mean, when a session attribute is added into a session on Node A a message is broadcasted to other messages and setAttribute is called on the replicated sessions. A full description of this implementation can be found under Filip's Tomcat Page Copyright: See apache license Company: www.filip.net
DeltaManager: The DeltaManager manages replicated sessions by only replicating the deltas in data. For applications written to handle this, the DeltaManager is the optimal way of replicating data. This code is almost identical to StandardManager with a difference in how it persists sessions and some modifications to it. IMPLEMENTATION NOTE : Correct behavior of session storing and reloading depends upon external calls to the start() and stop() methods of this class at the correct times.
JvmRouteSessionIDBinderLifecycleListener: Register new JvmRouteSessionIDBinderListener to receive Session ID changes. add following at your server.xml Host section <Host >... <Listener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderLifecycleListener" /> <Cluster ...> </Host> FIXME add Engine support
StandardSessionContext: This class is a dummy implementation of the HttpSessionContext interface, to conform to the requirement that such an object be returned when HttpSession.getSessionContext() is called.
ReplicationStream: Custom subclass of ObjectInputStream that loads from the class loader for this web application. This allows classes defined only with the web application to be found correctly.
ClusterListener: Receive SessionID cluster change from other backup node after primary session node is failed.
JvmRouteSessionIDBinderListener: Receive SessionID cluster change from other backup node after primary session node is failed.
Constants: Manifest constants for the org.apache.catalina.cluster.session package.
ClusterSessionListener: Receive replicated SessionMessage form other cluster node.
DeltaSessionFacade: Facade for the DeltaSession object.
SessionIDMessage: Session id change cluster message
SessionMessageImpl: Session cluster message
DeltaRequest
ReplicatedSession
SerializablePrincipal
DeltaManagerTest
DeltaSessionTest

Home | Contact Us | Privacy Policy | Terms of Service