ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Mekhanikov <dmekhani...@gmail.com>
Subject Re: How to control the quit of Ignite instance manually?
Date Wed, 06 Sep 2017 08:26:26 GMT
As per documentation
<https://apacheignite.readme.io/docs/ignite-life-cycle#lifecycle-event-types>,
you can implement a LifecycleBean and specify it in IgniteConfiguration.
You can process BEFORE_NODE_STOP or AFTER_NODE_STOP in this implementation.

- Denis

ср, 6 сент. 2017 г. в 10:26, aaron@tophold.com <aaron@tophold.com>:

> hi All,
>
> We want to the control the quit of the Ignite instance,  so we can do some
> purger and housekeeping job before ignite shutdown.
>
> But seem Ignite add hook to the JVM runtime; so we can always  get
> BEFORE_NODE_STOP before our cleaning up job kick.
>
> Is there anyway we can control exactly time when ignite should quit?
>
> Thanks again for your time!
>
> Regards
> Aaron
> ------------------------------
> aaron@tophold.com
>

Mime
View raw message