Class BatchNotificationsScheduler

java.lang.Object
es.kukenan.smartfi.microservice.communication.service.batch.BatchNotificationsScheduler

@Component public class BatchNotificationsScheduler extends Object
Batch notification processing scheduled tasks. Actual logic is delegated to BatchNotificationsScheduledTaskExecutor.
  • Field Details

    • TASK_NAME

      public static final String TASK_NAME
      Scheduled task name for Batch notifications processing.
      See Also:
    • requestContextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManager
      Request context manager.
    • executor

      @Autowired private BatchNotificationsScheduledTaskExecutor executor
      Scheduled task executor.
    • loadDataLock

      private final Lock loadDataLock
      Lock to avoid concurrent load executions.
    • batchNotificationsTaskEnabled

      @Value("${batchnotifications.task.enabled}") private Boolean batchNotificationsTaskEnabled
      Data WareHouse batch notifications scheduled task feature toggle.
    • silentPushBatchTaskEnabled

      @Value("${silentpushbatch.task.enabled}") private Boolean silentPushBatchTaskEnabled
      IOS silent push batch scheduled task feature toggle.
  • Constructor Details

    • BatchNotificationsScheduler

      public BatchNotificationsScheduler()
  • Method Details

    • processBatchNotificationsScheduled

      @Scheduled(cron="${batchnotifications.task.cron}") public void processBatchNotificationsScheduled()
      load data core service.
    • silentPushBatchScheduled

      @Scheduled(cron="${silentpushbatch.task.cron}") public void silentPushBatchScheduled()
      Silent push batch.
    • processBatchNotifications

      public void processBatchNotifications()
      load data core service.
    • silentPushBatch

      public void silentPushBatch()
      Silent push batch.
    • batchExecution

      private void batchExecution(BatchNotificationsScheduler.BatchDefinition batchProcess)