Class BulkUpdateOrphanCheckListener

    • Constructor Detail

      • BulkUpdateOrphanCheckListener

        public BulkUpdateOrphanCheckListener​(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService,
                                             BulkUpdateService<BulkUpdate> bulkUpdateService,
                                             com.broadleafcommerce.common.extension.TypeFactory typeFactory,
                                             List<BulkDataRouteSupporting> routes)
    • Method Detail

      • handleMessage

        protected void handleMessage​(org.springframework.messaging.Message<com.broadleafcommerce.common.messaging.domain.ScheduledJobRef> message)
      • notifyOfDeleteSandboxRequest

        protected void notifyOfDeleteSandboxRequest​(String bulkUpdateId)
      • isSandboxBulkUpdate

        protected boolean isSandboxBulkUpdate​(@NonNull
                                              BulkUpdate bulkUpdate)
      • getIdempotentConsumptionService

        protected com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService getIdempotentConsumptionService()
      • getHangingCutoff

        public Duration getHangingCutoff()
        This value represents the amount of time that a bulk update is allowed to be idle (in a state of "REQUESTED" or "PROCESSING") before it is considered hanging and set to an error state.
      • setHangingCutoff

        public void setHangingCutoff​(Duration hangingCutoff)
        This value represents the amount of time that a bulk update is allowed to be idle (in a state of "REQUESTED" or "PROCESSING") before it is considered hanging and set to an error state.
      • getTypeFactory

        @NonNull
        protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()