I am currently using a Java servlet which has the siddhi core,api and query jar libraries. I am using the SiddhiManager Class to create streams,queries and callbacks. The servlet allows me to run regular queries but doesn't query time window based queries such as -
from StatusTime#window.time(4 min) select cid,sum(values) as SUM group by cid having (SUM>40) insert into payt
Each time the servlet is called the time window get re initiated , as a result time based queries fail. How do I make the siddhi manager use the previously initiated time window.