Class PageableSchedulerTask

    • Field Detail

      • pageSize

        @Value("${xs2a.cms.scheduler.processing.page-size:100}")
        protected int pageSize
    • Constructor Detail

      • PageableSchedulerTask

        public PageableSchedulerTask()
    • Method Detail

      • execute

        protected void execute​(long totalItems)
        Based on amount of items calculates page count and executes `runPageable` method with Pageable parameter
        Parameters:
        totalItems - total items
      • executePageable

        protected abstract void executePageable​(org.springframework.data.domain.Pageable pageable)