ARTEMIS-3049 Simplify PagePosition API

This commit is contained in:
franz1981 2021-01-05 12:14:26 +01:00 committed by Clebert Suconic
parent 54b0094cd6
commit 22dbeb8022
2 changed files with 0 additions and 7 deletions

View File

@ -34,8 +34,6 @@ public interface PagePosition extends Comparable<PagePosition> {
void setPersistentSize(long persistentSize);
PagePosition nextMessage();
PagePosition nextPage();
}

View File

@ -126,11 +126,6 @@ public class PagePositionImpl implements PagePosition {
} else return Long.compare(recordID, o.getRecordID());
}
@Override
public PagePosition nextMessage() {
return new PagePositionImpl(this.pageNr, this.messageNr + 1);
}
@Override
public PagePosition nextPage() {
return new PagePositionImpl(this.pageNr + 1, 0, 0);