|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheHandler
Method Summary | |
---|---|
void |
deleteCaches(java.util.Collection<java.lang.String> keys,
com.opensymphony.xwork.ValidationAware feedback)
Delete the specified caches, handling internal data updates etc. |
void |
deleteUnusedCaches(com.opensymphony.xwork.ValidationAware feedback)
Delete all unused caches. |
java.util.Collection<CacheDescription> |
getCacheDescriptions()
Collection of cache descriptions to be displayed in the admin UI. |
java.lang.String |
getHandlerDescription()
Additional information about this cache type that would be displayed in UI. |
java.lang.String |
getKey()
Unique key identifying this provider, for example module key. |
java.lang.String |
getName()
Display name of the cache type, for example repository type name. |
Method Detail |
---|
@NotNull java.lang.String getKey()
@NotNull java.lang.String getName()
@NotNull java.lang.String getHandlerDescription()
This should include information about any non-obvious details like scheduling remote agent operations.
@NotNull java.util.Collection<CacheDescription> getCacheDescriptions()
void deleteCaches(@NotNull java.util.Collection<java.lang.String> keys, @NotNull com.opensymphony.xwork.ValidationAware feedback)
keys
- keys from CacheDescription.getKey()
feedback
- consumer of UI messagesvoid deleteUnusedCaches(@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 messages
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |