bereng commented on code in PR #3917: URL: https://github.com/apache/cassandra/pull/3917#discussion_r2079119140
########## src/java/org/apache/cassandra/cql3/QueryProcessor.java: ########## @@ -131,6 +129,28 @@ public class QueryProcessor implements QueryHandler DatabaseDescriptor.getPreparedStatementsCacheSizeMiB()); } + /** + * @return The maximum capacity, in bytes, of the prepared statements cache. If no capacity is established, + * {@link Long#MAX_VALUE} is returned. + */ + public static long getPreparedStatementsCacheMaximumCapacity() Review Comment: Trash this. You already have `DatabaseDescriptor.getPreparedStatementsCacheSizeMiB()` -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org