com.atlassian.confluence.cache.ehcache
Class EhCacheCompactor
java.lang.Object
com.atlassian.confluence.cache.ehcache.EhCacheCompactor
- All Implemented Interfaces:
- CacheCompactor
@Internal
@ParametersAreNonnullByDefault
public class EhCacheCompactor
- extends Object
- implements CacheCompactor
Handles the process of compacting EHCache caches by forcing eviction of expired elements. This is potentially expensive,
so shouldn't be done willy-nilly, but only on a controlled schedule.
- Since:
- 5.7
Method Summary |
void |
compact()
Perform the compaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheCompactor
public EhCacheCompactor(EhCacheManager cacheManager,
DarkFeaturesManager darkFeatureManager)
compact
public void compact()
- Description copied from interface:
CacheCompactor
- Perform the compaction
- Specified by:
compact
in interface CacheCompactor
Copyright © 2003–2015 Atlassian. All rights reserved.