use of org.apache.wicket.markup.MarkupCache in project oc-explorer by devgateway.
the class MarkupCacheService method flushMarkupCache.
/**
* Flush markup cache for reports page
*/
public final void flushMarkupCache() {
final MarkupCache markupCacheClass = (MarkupCache) MarkupCache.get();
final MarkupCache.ICache<String, Markup> markupCache = markupCacheClass.getMarkupCache();
final Collection<String> keys = markupCache.getKeys();
for (String key : keys) {
// should end in "ReportPage"
if (key.startsWith(START_NAME_REPORT_KEY)) {
markupCacheClass.removeMarkup(key);
}
}
}
use of org.apache.wicket.markup.MarkupCache in project ocvn by devgateway.
the class MarkupCacheService method flushMarkupCache.
/**
* Flush markup cache for reports page
*/
public final void flushMarkupCache() {
final MarkupCache markupCacheClass = (MarkupCache) MarkupCache.get();
final MarkupCache.ICache<String, Markup> markupCache = markupCacheClass.getMarkupCache();
final Collection<String> keys = markupCache.getKeys();
for (String key : keys) {
// should end in "ReportPage"
if (key.startsWith(START_NAME_REPORT_KEY)) {
markupCacheClass.removeMarkup(key);
}
}
}
Aggregations