pvary commented on code in PR #14440:
URL: https://github.com/apache/iceberg/pull/14440#discussion_r2570997987


##########
core/src/main/java/org/apache/iceberg/CatalogProperties.java:
##########
@@ -48,6 +48,27 @@ private CatalogProperties() {}
 
   public static final boolean CACHE_CASE_SENSITIVE_DEFAULT = true;
 
+  /**
+   * Controls policy of caffeine cache
+   *
+   * <p>Behavior of specific values of cache.strategy:
+   *
+   * <ul>
+   *   <li>EXPIRE_AFTER_ACCESS - cache entries are never evicted as long as 
they are being accessed
+   *       frequently
+   *   <li>EXPIRE_AFTER_WRITE - cache entries are evicted frequently after 
cache write
+   * </ul>
+   */
+  public static final String CACHE_EXPIRATION_POLICY = 
"cache.expiration-policy";
+
+  public enum CacheExpirationPolicy {

Review Comment:
   Could we have one which doesn't have an expiration like before?



-- 
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]


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

Reply via email to