|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pyxis.greenhopper.jira.configurations.layout.LayoutsCacheImpl
@Service public class LayoutsCacheImpl
Nested Class Summary | |
---|---|
class |
LayoutsCacheImpl.FieldLayoutCacheLoader
Loads a list of issue fields for a given IssueTypeLayoutsCacheKey . |
Constructor Summary | |
---|---|
LayoutsCacheImpl()
|
Method Summary | |
---|---|
void |
flushCache()
Invoked when all caches in the plugin need to be cleared. |
java.util.List<IssueField> |
getLayouts(IssueTypeLayoutsCacheKey cacheKey)
Retrieves the cached field layouts. |
int |
getLines(IssueTypeLayoutsCacheKey cacheKey)
Retrieves the cached lines count. |
java.lang.Integer |
getMaxLineCount(GlobalLayoutsCacheKey cacheKey)
Retrieves the cached max line count cache. |
void |
init()
|
void |
removeCachedObjects(GlobalLayoutsCacheKey globalLayoutsCacheKey)
Remove cached objects related to the global key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutsCacheImpl()
Method Detail |
---|
@PostConstruct public void init()
public java.util.List<IssueField> getLayouts(IssueTypeLayoutsCacheKey cacheKey)
LayoutsCache
getLayouts
in interface LayoutsCache
cacheKey
- the key
AbstractLayouts.getLayout(com.atlassian.greenhopper.service.issue.IssueFieldManager, com.atlassian.jira.issue.issuetype.IssueType)
public int getLines(IssueTypeLayoutsCacheKey cacheKey)
LayoutsCache
getLines
in interface LayoutsCache
cacheKey
- the key
AbstractLayouts.getLineCount(com.atlassian.greenhopper.service.issue.IssueFieldManager, String)
public java.lang.Integer getMaxLineCount(GlobalLayoutsCacheKey cacheKey)
LayoutsCache
getMaxLineCount
in interface LayoutsCache
cacheKey
- the key
AbstractLayouts.getMaxLineCount(com.atlassian.greenhopper.service.issue.IssueFieldManager)
public void removeCachedObjects(GlobalLayoutsCacheKey globalLayoutsCacheKey)
LayoutsCache
removeCachedObjects
in interface LayoutsCache
globalLayoutsCacheKey
- the global keypublic void flushCache()
GreenHopperCache
flushCache
in interface GreenHopperCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |