Class SlardarCacheEndpoint
-
- All Implemented Interfaces:
@Endpoint(id = "wingscache") public class SlardarCacheEndpointIf you have developed your own actuator @Endpoint beans you should ensure that they following the tighter naming rules introduced in Spring Boot 2.1. Specifically, IDs should be alpha-numeric only and must start with a letter (see the EndpointId class documentation for full details). If you use - or . characters Spring Boot 2.1 will log a warning and ask you to migrate to the correct format.
- Since:
2021-06-02
trydofor
-
-
Constructor Summary
Constructors Constructor Description SlardarCacheEndpoint(Map<String, CacheManager> cm)
-
Method Summary
Modifier and Type Method Description Set<String>listManager()Set<String>listCacheSize(@Selector() String manager)name + `:` + count Set<String>listCacheKeys(@Selector() String manager, @Selector() String cache)id + `:` + key StringevictCacheKey(@Selector() String manager, @Selector() String cache, String id)-
-
Method Detail
-
listManager
@ReadOperation() Set<String> listManager()
-
listCacheSize
@ReadOperation() Set<String> listCacheSize(@Selector() String manager)
name + `:` + count
-
listCacheKeys
@ReadOperation() Set<String> listCacheKeys(@Selector() String manager, @Selector() String cache)
id + `:` + key
-
evictCacheKey
@DeleteOperation() String evictCacheKey(@Selector() String manager, @Selector() String cache, String id)
-
-
-
-