Package org.apache.cassandra.auth
Class AuthCacheService
java.lang.Object
org.apache.cassandra.auth.AuthCacheService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidNOTE: Can only be called once per instance run.voidvoidunregister(AuthCache<?, ?> cache) void
-
Field Details
-
instance
-
-
Constructor Details
-
AuthCacheService
public AuthCacheService()
-
-
Method Details
-
register
-
unregister
-
warmCaches
public void warmCaches() -
initializeAndRegisterCaches
public static void initializeAndRegisterCaches()NOTE: Can only be called once per instance run. We have a couple of static initializer functions to create caches scattered across various classes, some solo and some with multiple member variables. As we expect these caches to be created and initialized in one logical block, we tie them together and use them here. Note: We also register the PasswordAuthenticator cache with theAuthCacheServicein it's constructor
-