public class RolesCache extends java.lang.Object implements RolesCacheMBean
| Constructor and Description |
|---|
RolesCache(IRoleManager roleManager) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<RoleResource> |
getRoles(RoleResource role) |
int |
getUpdateInterval() |
int |
getValidity() |
void |
invalidate() |
void |
setUpdateInterval(int updateInterval) |
void |
setValidity(int validityPeriod) |
public RolesCache(IRoleManager roleManager)
public java.util.Set<RoleResource> getRoles(RoleResource role)
public void invalidate()
invalidate in interface RolesCacheMBeanpublic void setValidity(int validityPeriod)
setValidity in interface RolesCacheMBeanpublic int getValidity()
getValidity in interface RolesCacheMBeanpublic void setUpdateInterval(int updateInterval)
setUpdateInterval in interface RolesCacheMBeanpublic int getUpdateInterval()
getUpdateInterval in interface RolesCacheMBeanCopyright © 2016 The Apache Software Foundation