[
https://issues.apache.org/jira/browse/ARTEMIS-4349?focusedWorklogId=878237&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-878237
]
ASF GitHub Bot logged work on ARTEMIS-4349:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Aug/23 18:17
Start Date: 24/Aug/23 18:17
Worklog Time Spent: 10m
Work Description: jbertram commented on code in PR #4584:
URL: https://github.com/apache/activemq-artemis/pull/4584#discussion_r1304702494
##########
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();
Review Comment:
This is a bit of a nit-pick, but the lines should be re-aligned so all the
`.` characters are in line vertically.
Issue Time Tracking
-------------------
Worklog Id: (was: 878237)
Time Spent: 9h 20m (was: 9h 10m)
> Replace Guava cache with Caffeine
> ---------------------------------
>
> Key: ARTEMIS-4349
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4349
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 2.29.0
> Reporter: Alexey Markevich
> Priority: Major
> Time Spent: 9h 20m
> Remaining Estimate: 0h
>
> based on benchmark https://github.com/ben-manes/caffeine/wiki/Benchmarks
--
This message was sent by Atlassian Jira
(v8.20.10#820010)