JWS-121 Improved the AnnualStat and ServiceStatus classes so they start the scheduler...
authorFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Fri, 2 Jun 2017 14:07:58 +0000 (15:07 +0100)
committerFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Fri, 2 Jun 2017 14:07:58 +0000 (15:07 +0100)
commit1d231ce2b4de665ef21d4d5bca681e08ad2d210b
tree9743a5eb0a1c2db200b73a81e55823cfd261d45d
parent1b5239f1a2d0b5a0ad254c22fc0fe1929e06d425
JWS-121 Improved the AnnualStat and ServiceStatus classes so they start the scheduler in the init() method and refresh the in memory cache every X minutes. The number of minutes is defined in the Engine.local.properties config. In memory values are cached in the ServletContext.
conf/Engine.local.properties
webservices/compbio/stat/servlet/AnnualStat.java
webservices/compbio/stat/servlet/ServiceStatus.java
website/statpages/MonthlySummary.jsp
website/statpages/ServicesStatus.jsp