|
|
@ -56,6 +56,7 @@ import org.springframework.util.unit.DataSize;
|
|
|
|
* @author Brian Clozel
|
|
|
|
* @author Brian Clozel
|
|
|
|
* @author Olivier Lamy
|
|
|
|
* @author Olivier Lamy
|
|
|
|
* @author Chentao Qu
|
|
|
|
* @author Chentao Qu
|
|
|
|
|
|
|
|
* @author Artsiom Yudovin
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = true)
|
|
|
|
@ConfigurationProperties(prefix = "server", ignoreUnknownFields = true)
|
|
|
|
public class ServerProperties {
|
|
|
|
public class ServerProperties {
|
|
|
@ -369,6 +370,12 @@ public class ServerProperties {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private int acceptCount = 100;
|
|
|
|
private int acceptCount = 100;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Maximum number of idle processors that will be retained in the cache and reused
|
|
|
|
|
|
|
|
* with a subsequent request.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private int processorCache = 200;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Comma-separated list of additional patterns that match jars to ignore for TLD
|
|
|
|
* Comma-separated list of additional patterns that match jars to ignore for TLD
|
|
|
|
* scanning. The special '?' and '*' characters can be used in the pattern to
|
|
|
|
* scanning. The special '?' and '*' characters can be used in the pattern to
|
|
|
@ -524,6 +531,14 @@ public class ServerProperties {
|
|
|
|
this.acceptCount = acceptCount;
|
|
|
|
this.acceptCount = acceptCount;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getProcessorCache() {
|
|
|
|
|
|
|
|
return this.processorCache;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setProcessorCache(int processorCache) {
|
|
|
|
|
|
|
|
this.processorCache = processorCache;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<String> getAdditionalTldSkipPatterns() {
|
|
|
|
public List<String> getAdditionalTldSkipPatterns() {
|
|
|
|
return this.additionalTldSkipPatterns;
|
|
|
|
return this.additionalTldSkipPatterns;
|
|
|
|
}
|
|
|
|
}
|
|
|
|