Class AuthCacheService

java.lang.Object
org.apache.cassandra.auth.AuthCacheService

@ThreadSafe public class AuthCacheService extends Object
  • Field Details

  • Constructor Details

    • AuthCacheService

      public AuthCacheService()
  • Method Details

    • register

      public void register(AuthCache<?,?> cache)
    • unregister

      public void unregister(AuthCache<?,?> cache)
    • 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 the AuthCacheService in it's constructor