[ 
https://issues.apache.org/jira/browse/CASSANDRA-21038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039923#comment-18039923
 ] 

Dmitry Konstantinov commented on CASSANDRA-21038:
-------------------------------------------------

+1 (same API is mentioned here: 
https://github.com/ben-manes/caffeine/discussions/822)

> Avoid iterating all prepared statements when getting the 
> PreparedStatementsCacheSize metric
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21038
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21038
>             Project: Apache Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The prepared statement cache tracks the current total weight for eviction 
> purposes, we can just return that



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to