jbertram commented on code in PR #4584:
URL: https://github.com/apache/activemq-artemis/pull/4584#discussion_r1304702894


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/security/impl/SecurityStoreImpl.java:
##########
@@ -101,15 +103,15 @@ public SecurityStoreImpl(final 
HierarchicalRepository<Set<Role>> securityReposit
       if (authenticationCacheSize == 0) {
          authenticationCache = null;
       } else {
-         authenticationCache = CacheBuilder.newBuilder()
+         authenticationCache = Caffeine.newBuilder()
                                            
.maximumSize(authenticationCacheSize)
                                            
.expireAfterWrite(invalidationInterval, TimeUnit.MILLISECONDS)
                                            .build();
       }
       if (authorizationCacheSize == 0) {
          authorizationCache = null;
       } else {
-         authorizationCache = CacheBuilder.newBuilder()
+         authorizationCache = Caffeine.newBuilder()
                                           .maximumSize(authorizationCacheSize)
                                           
.expireAfterWrite(invalidationInterval, TimeUnit.MILLISECONDS)
                                           .build();

Review Comment:
   Same as above.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to