@Override
protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
CachedRuleReader cacheRuleReader = GeoServerExtensions
.bean(CachedRuleReader.class);
cacheRuleReader.invalidateAll();
info(new StringResourceModel(GeofencePage.class.getSimpleName() +
".cacheInvalidated", null).getObject());
ruleStatsModel.setObject(getStats(cacheRuleReader));
userStatsModel.setObject(getUserStats(cacheRuleReader));
target.addComponent(ruleStats);