|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache
public class JiraRemoteIssueManagerCache
A caching implementation of JiraRemoteIssueManager
, which delegates to another instance of
JiraRemoteIssueManager
, in the case of a cache miss.
Constructor Summary | |
---|---|
JiraRemoteIssueManagerCache(JiraRemoteIssueManager delegate,
long cachePeriodMillis)
|
Method Summary | |
---|---|
void |
clearCache()
Clears any cached data, if applicable. |
JiraIssueDetails |
getJiraIssueDetails(java.lang.String issueKey)
This gets an issue from JIRA via SOAP RPC. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraRemoteIssueManagerCache(JiraRemoteIssueManager delegate, long cachePeriodMillis)
delegate
- The JiraRemoteIssueManager
to which this JiraIssueManagerCache
delegates, in the case of a cache miss.cachePeriodMillis
- The maximum duration for which a JiraIssueDetails
should be kept in the cache.Method Detail |
---|
@NotNull public JiraIssueDetails getJiraIssueDetails(@NotNull java.lang.String issueKey)
JiraRemoteIssueManager
getJiraIssueDetails
in interface JiraRemoteIssueManager
JiraIssueDetails
object representing the JIRA issue.public void clearCache()
JiraRemoteIssueManager
Clears any cached data, if applicable.
clearCache
in interface JiraRemoteIssueManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |