com.atlassian.greenhopper.cache
Class CacheManagerFactory

java.lang.Object
  extended by com.atlassian.greenhopper.cache.CacheManagerFactory

@Service
public class CacheManagerFactory
extends java.lang.Object

A convenient accessor for getting atlassian-cache 2.0 CacheFactory in all JIRA versions. Can be removed once minimum JIRA version is 6.2.


Constructor Summary
CacheManagerFactory()
           
 
Method Summary
 com.atlassian.cache.CacheFactory create()
           
static com.atlassian.cache.CacheSettings defaultCacheSettings()
          The recommendation from JIRA is to default the cache settings to expire after 30 minutes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerFactory

public CacheManagerFactory()
Method Detail

defaultCacheSettings

public static com.atlassian.cache.CacheSettings defaultCacheSettings()
The recommendation from JIRA is to default the cache settings to expire after 30 minutes.

Returns:
a new settings object to be used when constructing new caches

create

public com.atlassian.cache.CacheFactory create()


Copyright © 2007-2014 Atlassian. All Rights Reserved.