private synchronized void init() throws CacheException {
Cache oldCache = _cache;
_cache = CacheFactory.createCache("WebTMLCache-" + increaseCacheIndex(), _capacity, null);
if (oldCache != null) {
oldCache.destroy();
}
}
private int increaseCacheIndex() {
_cacheIndex++;