[
https://issues.apache.org/jira/browse/ARTEMIS-3850?focusedWorklogId=780843&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-780843
]
ASF GitHub Bot logged work on ARTEMIS-3850:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jun/22 14:29
Start Date: 13/Jun/22 14:29
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4101:
URL: https://github.com/apache/activemq-artemis/pull/4101#discussion_r895790605
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/PagedMessage.java:
##########
@@ -55,4 +58,13 @@ public interface PagedMessage extends EncodingSupport {
* at the same amount of bytes it used. In some cases it may need to add
headers in AMQP
* or extra data that may affect the outcome of getEncodeSize() */
int getStoredSize();
+
+ long getPageNr();
+
+ PagedMessage setPageNr(long pageNr);
+
+ int getMessageNr();
+
+ PagedMessage setMessageNr(int messageNr);
Review Comment:
Not really trying to save space... it was just how I named them..
Regardless I'm changing it.
Issue Time Tracking
-------------------
Worklog Id: (was: 780843)
Time Spent: 5h 40m (was: 5.5h)
> Add Option to read messages into paging based on sizing and eliminate caching
> -----------------------------------------------------------------------------
>
> Key: ARTEMIS-3850
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3850
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Affects Versions: 2.22.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.24.0
>
> Time Spent: 5h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)