com.capitalone.dashboard.settings.ThreadPoolSettings Maven / Gradle / Ivy
package com.capitalone.dashboard.settings;
public class ThreadPoolSettings {
private int corePoolSize = 4;
private int maxPoolSize = 8;
private int queueCapacity = 100;
private String threadNamePrefix = "WSCollectorThread-";
public int getCorePoolSize() {
return corePoolSize;
}
public void setCorePoolSize(int corePoolSize) {
this.corePoolSize = corePoolSize;
}
public int getMaxPoolSize() {
return maxPoolSize;
}
public void setMaxPoolSize(int maxPoolSize) {
this.maxPoolSize = maxPoolSize;
}
public int getQueueCapacity() {
return queueCapacity;
}
public void setQueueCapacity(int queueCapacity) {
this.queueCapacity = queueCapacity;
}
public String getThreadNamePrefix() {
return threadNamePrefix;
}
public void setThreadNamePrefix(String threadNamePrefix) {
this.threadNamePrefix = threadNamePrefix;
}
}