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 RolesCacheMBean
public void setValidity(int validityPeriod)
setValidity
in interface RolesCacheMBean
public int getValidity()
getValidity
in interface RolesCacheMBean
public void setUpdateInterval(int updateInterval)
setUpdateInterval
in interface RolesCacheMBean
public int getUpdateInterval()
getUpdateInterval
in interface RolesCacheMBean
Copyright © 2017 The Apache Software Foundation