@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final PageRequest that = (PageRequest) o;
        return Objects.equals(offset, that.offset) &&
               Objects.equals(length, that.length);
    }
Page size to use, e.g. 10 is 10 records
stroom-util-shared/src/main/java/stroom/util/shared/PageRequest.java