public void setPageSize(Integer pSize) {

        if ((pSize == null) || (pSize < 0)) {
            this.pageSize = null;
        } else if (pSize > MAX_PAGE_SIZE || pSize < 1) {
            throw new IllegalArgumentException("The number of displayed pages per page ranges from 1~" + MAX_PAGE_SIZE);
        } else {
            this.pageSize = pSize;
        }
        setStartEndRow();
    }
Set page size value

@param pSize The pageSize to set.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/web/common/BaseResult.java