This is an automated email from the ASF dual-hosted git repository. kusal pushed a change to branch WW-5355-cache-lru in repository https://gitbox.apache.org/repos/asf/struts.git
from 74d2fdcc6 WW-5355 Use LRU cache by default add 5011a7977 WW-5355 Prevent AtomicInteger being initialised to zero add 9527da5d3 WW-5355 Initial Caffeine cache implementation add 1573207ee WW-5355 Fix eviction limit in LRU cache not being enforced add 6ff7e15bf WW-5355 Update JavaDoc for basic and LRU cache add 9c932f203 WW-5355 Introduce new Struts constants and their defaults add bfb4df13e WW-5355 Unify bootstrap constant declaration add d245dc551 WW-5355 Introduce new cache type selection methods and deprecate problematic setter injection No new revisions were added by this update. Summary of changes: core/pom.xml | 5 ++ .../xwork2/config/impl/DefaultConfiguration.java | 29 +++++--- .../xwork2/config/impl/MockConfiguration.java | 18 +++-- .../StrutsDefaultConfigurationProvider.java | 15 ++-- .../ognl/DefaultOgnlBeanInfoCacheFactory.java | 19 ++--- .../xwork2/ognl/DefaultOgnlCacheFactory.java | 68 +++++++++++++----- .../ognl/DefaultOgnlExpressionCacheFactory.java | 25 +++---- .../opensymphony/xwork2/ognl/OgnlCacheFactory.java | 52 ++++++++++++-- .../xwork2/ognl/OgnlCaffeineCache.java | 82 ++++++++++++++++++++++ .../opensymphony/xwork2/ognl/OgnlDefaultCache.java | 15 ++-- .../com/opensymphony/xwork2/ognl/OgnlLRUCache.java | 26 +++---- .../com/opensymphony/xwork2/ognl/OgnlUtil.java | 10 ++- .../java/org/apache/struts2/StrutsConstants.java | 54 +++++++------- .../org/apache/struts2/default.properties | 34 +++------ .../com/opensymphony/xwork2/ognl/OgnlUtilTest.java | 12 +++- pom.xml | 6 ++ 16 files changed, 331 insertions(+), 139 deletions(-) create mode 100644 core/src/main/java/com/opensymphony/xwork2/ognl/OgnlCaffeineCache.java