public interface CacheHandler
Modifier and Type | Method and Description |
---|---|
void |
deleteCaches(@NotNull Collection<String> keys,
@NotNull com.opensymphony.xwork.ValidationAware feedback)
Delete the specified caches, handling internal data updates etc.
|
void |
deleteUnusedCaches(@NotNull com.opensymphony.xwork.ValidationAware feedback)
Delete all unused caches.
|
@NotNull Collection<CacheDescription> |
getCacheDescriptions()
Collection of cache descriptions to be displayed in the admin UI.
|
@NotNull String |
getHandlerDescription()
Additional information about this cache type that would be displayed in UI.
|
@NotNull String |
getKey()
Unique key identifying this provider, for example module key.
|
@NotNull String |
getName()
Display name of the cache type, for example repository type name.
|
@NotNull @NotNull String getKey()
@NotNull @NotNull String getName()
@NotNull @NotNull String getHandlerDescription()
This should include information about any non-obvious details like scheduling remote agent operations.
@NotNull @NotNull Collection<CacheDescription> getCacheDescriptions()
void deleteCaches(@NotNull @NotNull Collection<String> keys, @NotNull @NotNull com.opensymphony.xwork.ValidationAware feedback)
keys
- keys from CacheDescription.getKey()
feedback
- consumer of UI messagesvoid deleteUnusedCaches(@NotNull @NotNull com.opensymphony.xwork.ValidationAware feedback)
It's the responsibility of the implementing class to figure out which caches are currently unused and optionally delete such caches on remote agents.
feedback
- consumer of UI messagesCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.