public class RolesCache extends AuthCache<RoleResource,java.util.Set<Role>> implements RolesCacheMBean
AuthCache.BulkLoader<K,V>
cache, MBEAN_NAME_BASE
CACHE_NAME
Constructor and Description |
---|
RolesCache(IRoleManager roleManager,
java.util.function.BooleanSupplier enableCache) |
Modifier and Type | Method and Description |
---|---|
void |
invalidateRoles(java.lang.String roleName) |
awaitTermination, get, getActiveUpdate, getAll, getEstimatedSize, getMaxEntries, getObjectName, getUpdateInterval, getValidity, init, initCache, invalidate, invalidate, isTerminated, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity, shutdown, shutdownAllAndWait, shutdownNow, unregisterMBean, warm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActiveUpdate, getEstimatedSize, getMaxEntries, getUpdateInterval, getValidity, invalidate, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity
public RolesCache(IRoleManager roleManager, java.util.function.BooleanSupplier enableCache)
public void invalidateRoles(java.lang.String roleName)
invalidateRoles
in interface RolesCacheMBean
Copyright © 2009-2022 The Apache Software Foundation