Package org.apache.cassandra.auth
Class RolesCache
- java.lang.Object
-
- org.apache.cassandra.auth.AuthCache<RoleResource,java.util.Set<Role>>
-
- org.apache.cassandra.auth.RolesCache
-
- All Implemented Interfaces:
AuthCacheMBean
,RolesCacheMBean
,Shutdownable
public class RolesCache extends AuthCache<RoleResource,java.util.Set<Role>> implements RolesCacheMBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.auth.AuthCache
AuthCache.BulkLoader<K,V>
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.auth.AuthCache
cache, MBEAN_NAME_BASE
-
Fields inherited from interface org.apache.cassandra.auth.RolesCacheMBean
CACHE_NAME
-
-
Constructor Summary
Constructors Constructor Description RolesCache(IRoleManager roleManager, java.util.function.BooleanSupplier enableCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invalidateRoles(java.lang.String roleName)
-
Methods inherited from class org.apache.cassandra.auth.AuthCache
awaitTermination, get, getActiveUpdate, getAll, getEstimatedSize, getMaxEntries, getObjectName, getUpdateInterval, getValidity, init, initCache, invalidate, invalidate, isTerminated, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity, shutdown, shutdownAllAndWait, shutdownNow, unregisterMBean, warm
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.auth.AuthCacheMBean
getActiveUpdate, getEstimatedSize, getMaxEntries, getUpdateInterval, getValidity, invalidate, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity
-
-
-
-
Constructor Detail
-
RolesCache
public RolesCache(IRoleManager roleManager, java.util.function.BooleanSupplier enableCache)
-
-
Method Detail
-
invalidateRoles
public void invalidateRoles(java.lang.String roleName)
- Specified by:
invalidateRoles
in interfaceRolesCacheMBean
-
-