Class BatchNotificationsScheduler
java.lang.Object
es.kukenan.smartfi.microservice.communication.service.batch.BatchNotificationsScheduler
Batch notification processing scheduled tasks. Actual logic is delegated to
BatchNotificationsScheduledTaskExecutor.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BooleanData WareHouse batch notifications scheduled task feature toggle.Scheduled task executor.private final LockLock to avoid concurrent load executions.private es.kukenan.smartfi.common.context.RequestContextManagerRequest context manager.private BooleanIOS silent push batch scheduled task feature toggle.static final StringScheduled task name for Batch notifications processing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbatchExecution(BatchNotificationsScheduler.BatchDefinition batchProcess) voidload data core service.voidload data core service.voidSilent push batch.voidSilent push batch.
-
Field Details
-
TASK_NAME
Scheduled task name for Batch notifications processing.- See Also:
-
requestContextManager
@Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManagerRequest context manager. -
executor
Scheduled task executor. -
loadDataLock
Lock to avoid concurrent load executions. -
batchNotificationsTaskEnabled
Data WareHouse batch notifications scheduled task feature toggle. -
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
-