Class CachedFieldConfigSchemePersister

java.lang.Object
com.atlassian.jira.issue.fields.config.persistence.FieldConfigSchemePersisterImpl
com.atlassian.jira.issue.fields.config.persistence.CachedFieldConfigSchemePersister
All Implemented Interfaces:
FieldConfigSchemePersister

public class CachedFieldConfigSchemePersister extends FieldConfigSchemePersisterImpl
A simple caching wrapper

NOTE : you may be wondering about the cache invalidation strategy on this cache. Will the top level classes that use this cache such as {@link com.atlassian.jira.issue.CustomFieldManager@refreshCache} call init() and this clears the cache.

TODO: This probably should be rewritten so that the upper lays of code are not responsible for clearing the lower level caches and also the "cache inheritance" pattern should be removed.