Interface JmxReportCacheMBean
-
- All Known Implementing Classes:
JmxReportCache
public interface JmxReportCacheMBean
This interface allows to define theJmxReportCache
class as an standard MBean that allows to view and clear the cached contents of theCompiledReportManager
through JMX.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearCache()
Clears the content of the compiled reports cache.Set<String>
getCachedReports()
boolean
isEnabled()
void
setEnabled(boolean enabled)
Enables/Disables the reports cache.
-
-
-
Method Detail
-
getCachedReports
Set<String> getCachedReports()
- Returns:
- the set of report names currently available in cache.
-
clearCache
void clearCache()
Clears the content of the compiled reports cache.
-
isEnabled
boolean isEnabled()
- Returns:
true
if the reports cache is enabled,false
otherwise.
-
setEnabled
void setEnabled(boolean enabled)
Enables/Disables the reports cache.- Parameters:
enabled
-true
to enable the cache,false
otherwise.
-
-