tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1200555 - /tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
Date Thu, 10 Nov 2011 21:20:24 GMT
Author: rjung
Date: Thu Nov 10 21:20:23 2011
New Revision: 1200555

URL: http://svn.apache.org/viewvc?rev=1200555&view=rev
Log:
Add more attributes to manager cloneing when
initializing via a cluster configuration:
- maxInactiveInterval
- sessionIdLength
- processExpiresFrequency

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java?rev=1200555&r1=1200554&r2=1200555&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java Thu Nov 10 21:20:23
2011
@@ -184,6 +184,9 @@ public abstract class ClusterManagerBase
         copy.setName("Clone-from-" + getName());
         copy.setCluster(getCluster());
         copy.maxActiveSessions = getMaxActiveSessions();
+        copy.setMaxInactiveInterval(getMaxInactiveInterval());
+        copy.setSessionIdLength(getSessionIdLength());
+        copy.setProcessExpiresFrequency(getProcessExpiresFrequency());
         copy.setNotifyListenersOnReplication(isNotifyListenersOnReplication());
         copy.setSessionAttributeFilter(getSessionAttributeFilter());
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message