public class EhCacheCompactor extends Object implements CacheCompactor, Startable, com.atlassian.scheduler.JobRunner
CacheCompactor.CacheCompactionResult
Constructor and Description |
---|
EhCacheCompactor(net.sf.ehcache.CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
CacheCompactor.CacheCompactionResult |
purgeExpiredCacheEntries()
Removes expired entries from all caches.
|
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
public EhCacheCompactor(net.sf.ehcache.CacheManager cacheManager)
public CacheCompactor.CacheCompactionResult purgeExpiredCacheEntries()
CacheCompactor
purgeExpiredCacheEntries
in interface CacheCompactor
public void start() throws Exception
Startable
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
Copyright © 2002-2019 Atlassian. All Rights Reserved.