@Internal
public interface StructureCacheHelper
Modifier and Type | Method and Description |
---|---|
void |
clearAllStructureCaches()
Clears all caches on the current JIRA instance that are maintained by Structure and Structure extensions.
|
void |
clearAllStructureCachesOnAllNodes()
Clears all caches (maintained by Structure and Structure extensions) on the current JIRA instance and causes
eventual caches clearing on other nodes (when running on JIRA Data Center).
|
void |
clearCurrentUserStructureCaches()
Clears caches on the current node for the current user.
|
void |
clearUserStructureCaches(ApplicationUser user)
Clears caches on the current node for the given non-anonymous user.
|
void |
clearUserStructureCachesOnAllNodes(ApplicationUser user)
Clears caches on the all nodes for the given non-anonymous user (maintained by Structure and Structure extensions) on the current
JIRA instance and causes eventual caches clearing on other nodes (when running on JIRA Data Center).
|
void clearAllStructureCaches()
Clears all caches on the current JIRA instance that are maintained by Structure and Structure extensions.
Note that in JIRA Data Center environment, this does not clear caches on other nodes.
After this method has finished execution, the caches are cleared.
void clearAllStructureCachesOnAllNodes()
Clears all caches (maintained by Structure and Structure extensions) on the current JIRA instance and causes eventual caches clearing on other nodes (when running on JIRA Data Center).
When running on non-JDC instance, works the same as clearAllStructureCaches()
.
After this method has finished execution, the caches are cleared on the local node, but may not be cleared yet on other nodes.
CachingComponent
,
clearAllStructureCaches()
void clearUserStructureCachesOnAllNodes(@NotNull ApplicationUser user)
Clears caches on the all nodes for the given non-anonymous user (maintained by Structure and Structure extensions) on the current JIRA instance and causes eventual caches clearing on other nodes (when running on JIRA Data Center).
When running on non-JDC instance, works the same as clearUserStructureCaches(ApplicationUser)
.
After this method has finished execution, the user-related caches are cleared on the local node, but may not be cleared yet on other nodes.
void clearCurrentUserStructureCaches()
void clearUserStructureCaches(@NotNull ApplicationUser user)
Copyright © 2021 ALM Works. All Rights Reserved.