You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by 常鑫 <xi...@intotech.com.cn> on 2021/10/11 09:18:03 UTC

Question about ShutdownPolicy

Hi All,
There is a sentence in the start and stop chapter of the developer's  guide,  "A graceful shutdown allows the node to finish critical operations and correctly complete its lifecycle", and I want to know the critical operations,so I read the source code.But I found that no matter what the ShutdownPolicy  is , only one method is executed.

The default policy is IMMEDIATE, so how to use GRACEFUL policy?

---------

Thanks & Regards,
Xin Chang