public interface ManagementMBean
Modifier and Type | Method and Description |
---|---|
void |
clearAccoutingCache()
Clears the cache (all precomputed accounts)
|
int |
getAccountingCacheValidityTimeInSeconds()
Returns the accounting cache valid time in seconds.
|
long |
getLastRefreshDurationInMilliseconds()
Returns the last duration in milliseconds of account refresh.
|
void |
refreshConfiguration()
Reload the resource manager configuration, permissions, and log4j config.
|
void |
setAccountingCacheValidityTimeInSeconds(int timeInSeconds)
Sets a new accounting cache valid time in seconds.
|
void |
setDefaultAccountingCacheValidityTimeInSeconds()
Sets the cache refresh rate to the one defined in the configuration file.
|
int getAccountingCacheValidityTimeInSeconds()
void setAccountingCacheValidityTimeInSeconds(int timeInSeconds)
timeInSeconds
- the new cache refresh rate in secondsvoid setDefaultAccountingCacheValidityTimeInSeconds()
void clearAccoutingCache()
long getLastRefreshDurationInMilliseconds()
void refreshConfiguration()