what is the maximum corepoolsize,maxpoolsize ,queuecapacity can we allocate in java spring boot framework.i am working n corporate which in need to handle more thread requests. i have to increase thread performance.The existing one is with default values.
public Executor asyncExecutor() {
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(corePoolSize);
executor.setMaxPoolSize(maxPoolSize);
executor.setQueueCapacity(queueCapacity);
return executor;
}