Package org.apache.cassandra.auth
Class NetworkPermissionsCache
- java.lang.Object
-
- org.apache.cassandra.auth.AuthCache<RoleResource,DCPermissions>
-
- org.apache.cassandra.auth.NetworkPermissionsCache
-
- All Implemented Interfaces:
AuthCacheMBean
,NetworkPermissionsCacheMBean
,Shutdownable
public class NetworkPermissionsCache extends AuthCache<RoleResource,DCPermissions> implements NetworkPermissionsCacheMBean
-
-
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.NetworkPermissionsCacheMBean
CACHE_NAME, DEPRECATED_CACHE_NAME
-
-
Constructor Summary
Constructors Constructor Description NetworkPermissionsCache(INetworkAuthorizer authorizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invalidateNetworkPermissions(java.lang.String roleName)
protected void
unregisterMBean()
-
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, 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
-
NetworkPermissionsCache
public NetworkPermissionsCache(INetworkAuthorizer authorizer)
-
-
Method Detail
-
invalidateNetworkPermissions
public void invalidateNetworkPermissions(java.lang.String roleName)
- Specified by:
invalidateNetworkPermissions
in interfaceNetworkPermissionsCacheMBean
-
unregisterMBean
protected void unregisterMBean()
- Overrides:
unregisterMBean
in classAuthCache<RoleResource,DCPermissions>
-
-