Hello,
Can you suggest the best way to setup newFixedThreadPool in struts2
webapp please?
[Try1]
. By springframe work setup ThreadPool
. In action class, use fixedPool
Future f1 = fixedPool.submit(() -> { ...actions such as send
email, etc });
So, there will be NO shutdown in action c
Hello Emi,
Firstly you should decide what do you like about life-time of that
thread pool without being worry about calling shutdown. All your
examples have solutions to call shutdown which I described below...
Please read below
On 2/8/2018 7:02 PM, Emi wrote:
> Hello,
>
> Can you suggest t
Firstly you should decide what do you like about life-time of that
thread pool without being worry about calling shutdown. All your
examples have solutions to call shutdown which I described below...
Please read below
[Try1] . By springframe work setup ThreadPool . In action class, use
fixe
3 matches
Mail list logo