public final class RMAccountsManager extends AbstractAccountsManager<RMAccount>
accountsMap, logger
Constructor and Description |
---|
RMAccountsManager()
Create a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultCacheValidityTimeInSeconds()
Returns the default value of the accounts refresher.
|
RMAccount |
readAccount(String user)
Computes user account data by scanning the data base.
|
clearCache, getAccount, getCacheValidityTimeInSeconds, getLastRefreshDurationInMilliseconds, setCacheValidityTimeInSeconds
public RMAccountsManager()
public int getDefaultCacheValidityTimeInSeconds()
getDefaultCacheValidityTimeInSeconds
in class AbstractAccountsManager<RMAccount>
public RMAccount readAccount(String user)
readAccount
in class AbstractAccountsManager<RMAccount>
user
- the name of the user for which account is read