tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1528720 - /tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java
Date Thu, 03 Oct 2013 05:41:00 GMT
Author: kfujino
Date: Thu Oct  3 05:40:59 2013
New Revision: 1528720

URL: http://svn.apache.org/r1528720
Log:
Deprecate unused expireSessionsOnShutdown attribute.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java?rev=1528720&r1=1528719&r2=1528720&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java Thu Oct  3
05:40:59 2013
@@ -51,7 +51,11 @@ public class BackupManager extends Clust
 
     protected static long DEFAULT_REPL_TIMEOUT = 15000;//15 seconds
 
-    /** Set to true if we don't want the sessions to expire on shutdown */
+    /**
+     * Set to true if we don't want the sessions to expire on shutdown
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
+     */
+    @Deprecated
     protected boolean mExpireSessionsOnShutdown = true;
 
     /**
@@ -91,11 +95,19 @@ public class BackupManager extends Clust
     public void messageDataReceived(ClusterMessage msg) {
     }
 
+    /**
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
+     */
+    @Deprecated
     public void setExpireSessionsOnShutdown(boolean expireSessionsOnShutdown)
     {
         mExpireSessionsOnShutdown = expireSessionsOnShutdown;
     }
 
+    /**
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
+     */
+    @Deprecated
     public boolean getExpireSessionsOnShutdown()
     {
         return mExpireSessionsOnShutdown;



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


Mime
View raw message