Interface SlingServletResolverCacheMBean
@ProviderType
public interface SlingServletResolverCacheMBean
This is the management interface for the SlingServletResolver's cache.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Flush the servlet resolver cache.int
Get the current size of the servlet resolver cacheint
Get the maximum configured size of the servlet resolver cache
-
Method Details
-
getCacheSize
int getCacheSize()Get the current size of the servlet resolver cache- Returns:
- the cache size
-
getMaximumCacheSize
int getMaximumCacheSize()Get the maximum configured size of the servlet resolver cache- Returns:
- the maximum configured size
-
flushCache
void flushCache()Flush the servlet resolver cache.
-