@Minudika Can you elaborate a bit? What code you're referring to?

On Fri, Jul 7, 2017 at 8:45 PM, Sriskandarajah Suhothayan <[email protected]>
wrote:

> 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 <+94%2077%20975%206757> | 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>*
>



-- 

Thanks & regards,
Nirmal

Technical Lead, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to