public class

EhCacheCompactor

extends Object
implements CacheCompactor Startable JobRunner
java.lang.Object
   ↳ com.atlassian.jira.cache.EhCacheCompactor

Class Overview

Cache compactor for EHCache

Summary

Public Constructors
EhCacheCompactor(CacheManager cacheManager)
Public Methods
CacheCompactor.CacheCompactionResult purgeExpiredCacheEntries()
Removes expired entries from all caches.
@Nullable JobRunnerResponse runJob(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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.cache.CacheCompactor
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.scheduler.JobRunner

Public Constructors

public EhCacheCompactor (CacheManager cacheManager)

Public Methods

public CacheCompactor.CacheCompactionResult purgeExpiredCacheEntries ()

Removes expired entries from all caches.

@Nullable public JobRunnerResponse runJob (JobRunnerRequest request)

public void start ()

This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Throws
Exception