Class EhCacheCompactor

java.lang.Object
com.atlassian.jira.cache.EhCacheCompactor
All Implemented Interfaces:
CacheCompactor, Startable, com.atlassian.scheduler.JobRunner

public class EhCacheCompactor extends Object implements CacheCompactor, Startable, com.atlassian.scheduler.JobRunner
Cache compactor for EHCache
Since:
v6.3
  • Constructor Details

  • Method Details

    • purgeExpiredCacheEntries

      public CacheCompactor.CacheCompactionResult purgeExpiredCacheEntries()
      Description copied from interface: CacheCompactor
      Removes expired entries from all caches.
      Specified by:
      purgeExpiredCacheEntries in interface CacheCompactor
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.
    • runJob

      @Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner