[ https://issues.apache.org/jira/browse/TAP5-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733828#comment-17733828 ]
Hudson commented on TAP5-2756: ------------------------------ FAILURE: Integrated in Jenkins build Tapestry ยป tapestry-java-19-freestyle #13 (See [https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-19-freestyle/13/]) TAP5-2756: allow non-soft references in the page cache (thiago: rev 2c75fdbf2cb07ca926144541a41e572a48bc878c) * (edit) tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/services/AppModule.java * (edit) tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PageSourceImpl.java * (add) tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/ReferenceType.java * (edit) tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java * (add) tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageCachingReferenceTypeService.java > Allow developers define whether a page should be cached as a soft reference > or not > ---------------------------------------------------------------------------------- > > Key: TAP5-2756 > URL: https://issues.apache.org/jira/browse/TAP5-2756 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Reporter: Thiago Henrique De Paula Figueiredo > Assignee: Thiago Henrique De Paula Figueiredo > Priority: Minor > Fix For: 5.8.3 > > > This ticket is the result of a discussion on the Tapestry mailing list about > the consequences of caching page instances using soft references instead of > regular ones: > https://lists.apache.org/thread/5qbyg0mfscg9qj6jho9899rh4r0kz97z. The goal > here is to allow the developer to define which pages should be cached as soft > references (the default) or regular ones. > Usage example > public static void contributePageCachingReferenceTypeService( > OrderedConfiguration<PageCachingReferenceTypeService> configuration) { > configuration.add("VeryLarge", p -> p.equals("VeryLarge") ? > ReferenceType.STRONG : null); > } > This would cause the page named VeryLarge to be cached using a > regular, strong, non-garbage-collectable reference while leaving all > other pages cached with a soft, garbage-collectable reference. -- This message was sent by Atlassian Jira (v8.20.10#820010)