com.atlassian.greenhopper.service.project
Class XProjectCache
java.lang.Object
com.atlassian.greenhopper.service.GenericCache<java.lang.Long,XProject>
com.atlassian.greenhopper.service.project.XProjectCache
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
@Service(value="gh-xProjectCache")
public class XProjectCache
- extends GenericCache<java.lang.Long,XProject>
Entity cache for XProjects. XProjects have associated JIRA projects, so we're potentially caching stale instances. That's why they get refreshed on
every read.
- Author:
- ahennecke
Field Summary |
static java.lang.String |
SERVICE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE
public static final java.lang.String SERVICE
- See Also:
- Constant Field Values
XProjectCache
public XProjectCache()
getCacheName
protected java.lang.String getCacheName()
- Specified by:
getCacheName
in class GenericCache<java.lang.Long,XProject>
get
public XProject get(java.lang.Long key)
- Overrides:
get
in class GenericCache<java.lang.Long,XProject>
- Returns:
- the entity that matches the key, or null if none is in the cache
put
public void put(XProject value)
Copyright © 2007-2011 Atlassian. All Rights Reserved.