com.atlassian.jira.issue.cache
Class IssueCache
java.lang.Object
com.atlassian.jira.issue.cache.IssueCache
- All Implemented Interfaces:
- Cache
- class IssueCache
- extends Object
- implements Cache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instance
static IssueCache _instance
keyMap
org.ofbiz.core.util.UtilCache keyMap
idMap
org.ofbiz.core.util.UtilCache idMap
wfidMap
org.ofbiz.core.util.UtilCache wfidMap
cacheCapacity
Long cacheCapacity
expireTime
Long expireTime
getCache
public static IssueCache getCache()
refreshCache
public void refreshCache()
getIssue
public org.ofbiz.core.entity.GenericValue getIssue(IssueManager decoratedIssueManager,
Long id)
- We return a clone so that altering the object retrieved does not alter
every issue in the cache.
getIssue
public org.ofbiz.core.entity.GenericValue getIssue(IssueManager issueManager,
String attribute,
Object key)
getIssue
public org.ofbiz.core.entity.GenericValue getIssue(IssueManager decoratedIssueManager,
String key)
- We return a clone so that altering the object retrieved does not alter
every issue in the cache.
getIssueByWorkflow
public org.ofbiz.core.entity.GenericValue getIssueByWorkflow(IssueManager decoratedIssueManager,
Long wfid)
- We return a clone so that altering the object retrieved does not alter
every issue in the cache.
addIssue
public void addIssue(org.ofbiz.core.entity.GenericValue issue)
deleteIssue
public void deleteIssue(org.ofbiz.core.entity.GenericValue issue)
flushIssue
public void flushIssue(org.ofbiz.core.entity.GenericValue issue)
flushIssueChildValues
public void flushIssueChildValues(Long issueId,
String relation)
getSize
public long getSize()
- Specified by:
getSize
in interface Cache
getCapacity
public long getCapacity()
- Specified by:
getCapacity
in interface Cache
setCapacity
public void setCapacity(long maxSize)
- Specified by:
setCapacity
in interface Cache
getHitsCount
public long getHitsCount()
- Specified by:
getHitsCount
in interface Cache
getMissCount
public long getMissCount()
- Specified by:
getMissCount
in interface Cache
resetCacheStats
public void resetCacheStats()
- Specified by:
resetCacheStats
in interface Cache
getIssueChildren
public List getIssueChildren(IssueManager decoratedIssueManager,
org.ofbiz.core.entity.GenericValue issue,
String relationName)
Copyright © 2002-2007 Atlassian. All Rights Reserved.