Thank!!!

Apparently Global.onStop is called after SIGTERM.

El miércoles, 11 de marzo de 2015, 0:26:12 (UTC-5), Jon Mountjoy escribió:
>
> When Heroku is going to terminate a dyno it sends it a SIGTERM.   See the 
> doc 
> <https://devcenter.heroku.com/articles/dynos#graceful-shutdown-with-sigterm>. 
>  
> Perhaps you can catch it, and then call your onStop?  This SO article 
> <http://stackoverflow.com/questions/2541475/capture-sigint-in-java> seems 
> to indicate you can?
>
> On Tue, Mar 10, 2015 at 4:19 PM, Alan Alfredo Rojas Marroquin <
> alanr...@gmail.com <javascript:>> wrote:
>
>>
>> Hi,
>>
>> I have a Java Play Framework App. I have override onStart and onStop 
>> event. But I would like to know if when a dyno is restarted the onStop 
>> function is called.
>>
>> Thanks!
>>
>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Heroku" group.
>>  
>> To unsubscribe from this group, send email to
>> heroku+un...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Heroku Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to heroku+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to