(int)The NioChannel pool can also be size based, not used object based. The size is calculated as follows:
NioChannelbuffer size = read buffer size + write buffer size
SecureNioChannelbuffer size = application read buffer size + application write buffer size + network read buffer size + network write buffer size
The value is in bytes, the default value is1024*1024*100(100MB).
(int)NioChannel池,也可以是基于尺寸大小,而不是基于对象数的。该大小的计算如下:
NioChannel的缓冲区大小=读取缓冲区大小+写入缓冲区大小
SecureNioChannel的缓冲区大小=应用程序读取缓冲区大小+应用程序写入缓冲区的大小+网络读取缓冲区大小+网络写入缓冲区的大小
值(以字节为单位),默认值1024 * 1024 * 100 (100MB)。
(int)Tomcat will cache SocketProcessor objects to reduce garbage collection. The integer value specifies how many objects to keep in the cache at most. The default is500. Other values are-1for unlimited cache and0for no cache.
(int)以减少垃圾收集,Tomcat缓存SocketProcessor对象。该值指定保持在缓存中最多有多少个对象。默认值是500。-1表示不限制缓存大小,0表示不缓存。
(int)Tomcat will cache KeyAttachment objects to reduce garbage collection. The integer value specifies how many objects to keep in the cache at most. The default is500. Other values are-1for unlimited cache and0for no cache.
(int)以减少垃圾收集,Tomcat缓存KeyAttachment对象。该值指定保持在缓存中最多有多少个对象。默认值是500。-1表示不限制缓存大小,0表示不缓存。
(int)Tomcat will cache PollerEvent objects to reduce garbage collection. The integer value specifies how many objects to keep in the cache at most. The default is500. Other values are-1for unlimited cache and0for no cache.
(int)以减少垃圾收集,Tomcat缓存PollerEvent对象。该值指定保持在缓存中最多有多少个对象。默认值是500。-1表示不限制缓存大小,0表示不缓存。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-66845-17.html
战机一起上岛
我去你能在恶心我吗