Hi Mohan,

Yes, It's blocking with our Timer implementation. We are using a Timer to
schedule resetting stream-lib library when given time elapsed and Timer
scheduling event is now inside init method. So two timers get started and
two scheduling happens.
As we talked with you, we will be using a counter variable to check init
method calling time and start Timer only at the second time.

On Thu, Oct 23, 2014 at 11:41 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>
>
> On Thu, Oct 23, 2014 at 11:36 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Hi,
>>
>> We have written a custom Siddhi transformer for Top-K implementation.
>> When I deploy it with CEP, I could notice that init() method is get called
>> two times. Why is that?
>>
>
> Rajeevan, It is a known issue in the current siddhi implementation.. Team
> is working to fix this issue in next release.. Whether it is blocking any
> of your implementation or scenarios ??
>
> [1] https://wso2.org/jira/browse/CEP-953
>
> Thanks,
> Mohan
>
>
>>
>> --
>> Best Regards,
>> V.Rajeevan
>> Software Engineer,
>> WSO2 Inc. :http://wso2.com
>>
>> Mobile : +94 773090875
>> Email : rajeev...@wso2.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



-- 
Best Regards,
V.Rajeevan
Software Engineer,
WSO2 Inc. :http://wso2.com

Mobile : +94 773090875
Email : rajeev...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to