To my knowledge it's doing a pause() restoreState() and then resume().

Am I wrong?

On Fri, Jul 7, 2017 at 6:28 PM, Minudika Malshan <[email protected]> wrote:

> Hi,
>
> When restarting a siddhiAppRuntime with restoring a snapshot of the
> source, it calls the connect() method in source and then restoreState()
> method.
>
> Since the source is supposed to do the process using previously captured
> state, shouldn't the order be restore() and then connect() ?
>
> Appreciate if you can help me to clarify this.
>
> Thanks and regards!
>
> --
> *Minudika Gammanpila*
> Software Engineer - WSO2
>
> Email   :  [email protected]
> Mobile :  +94715659887 <071%20565%209887>
> Web     :  http://wso2.com <http://wso2.com/signature>
>



-- 

*S. Suhothayan*
Associate Director / Architect
*WSO2 Inc. *http://wso2.com
* <http://wso2.com/>*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
<http://suhothayan.blogspot.com/>twitter: http://twitter.com/suhothayan
<http://twitter.com/suhothayan> | linked-in:
http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to