2015-05-05 18:36 GMT+03:00 <ma...@apache.org>: > Author: markt > Date: Tue May 5 15:36:31 2015 > New Revision: 1677840 > > URL: http://svn.apache.org/r1677840 > Log: > Remove unused property (SocketWrappers are no longer reused) > > Modified: > tomcat/trunk/java/org/apache/tomcat/util/net/SocketProperties.java > tomcat/trunk/webapps/docs/config/http.xml
Searching for "socketWrapperCache", it is also mentioned in config/ajp.xml Best regards, Konstantin Kolinko > Modified: tomcat/trunk/java/org/apache/tomcat/util/net/SocketProperties.java > URL: > http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/SocketProperties.java?rev=1677840&r1=1677839&r2=1677840&view=diff > ============================================================================== > --- tomcat/trunk/java/org/apache/tomcat/util/net/SocketProperties.java > (original) > +++ tomcat/trunk/java/org/apache/tomcat/util/net/SocketProperties.java Tue > May 5 15:36:31 2015 > @@ -30,14 +30,6 @@ import java.nio.channels.AsynchronousSoc > * and are currently only working for the Nio connector > */ > public class SocketProperties { > - /** > - * Enable/disable socket wrapper cache, this bounded cache stores > - * SocketWrapper objects to reduce GC > - * Default is 500 > - * -1 is unlimited > - * 0 is disabled > - */ > - protected int socketWrapperCache = 500; > > /** > * Enable/disable socket processor cache, this bounded cache stores > @@ -312,14 +304,6 @@ public class SocketProperties { > return eventCache; > } > > - public int getKeyCache() { > - return socketWrapperCache; > - } > - > - public int getSocketWrapperCache() { > - return socketWrapperCache; > - } > - > public int getAppReadBufSize() { > return appReadBufSize; > } > @@ -409,14 +393,6 @@ public class SocketProperties { > this.eventCache = eventCache; > } > > - public void setSocketWrapperCache(int socketWrapperCache) { > - this.socketWrapperCache = socketWrapperCache; > - } > - > - public void setKeyCache(int keyCache) { > - this.socketWrapperCache = keyCache; > - } > - > public void setAppReadBufSize(int appReadBufSize) { > this.appReadBufSize = appReadBufSize; > } > > Modified: tomcat/trunk/webapps/docs/config/http.xml > URL: > http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1677840&r1=1677839&r2=1677840&view=diff > ============================================================================== > --- tomcat/trunk/webapps/docs/config/http.xml (original) > +++ tomcat/trunk/webapps/docs/config/http.xml Tue May 5 15:36:31 2015 > @@ -857,13 +857,6 @@ > <code>-1</code> for unlimited cache and <code>0</code> for no > cache.</p> > </attribute> > > - <attribute name="socket.socketWrapperCache" required="false"> > - <p>(int)Tomcat will cache SocketWrapper objects to reduce garbage > - collection. The integer value specifies how many objects to keep in > the > - cache at most. The default is <code>500</code>. Other values are > - <code>-1</code> for unlimited cache and <code>0</code> for no > cache.</p> > - </attribute> > - > </attributes> > </subsection> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org