Search in sources :

Example 1 with Cache

use of com.publiccms.common.api.Cache in project PublicCMS-preview by sanluan.

the class CacheComponent method clear.

/**
 */
@PreDestroy
public void clear() {
    for (Cache cache : cacheableList) {
        cache.clear();
    }
    clearViewCache();
    hqlService.clear();
}
Also used : Cache(com.publiccms.common.api.Cache) PreDestroy(javax.annotation.PreDestroy)

Aggregations

Cache (com.publiccms.common.api.Cache)1 PreDestroy (javax.annotation.PreDestroy)1