Class BatchQueueServiceImpl

java.lang.Object
fr.becpg.repo.batch.BatchQueueServiceImpl
All Implemented Interfaces:
BatchQueueService, EventListener, org.springframework.context.ApplicationListener<org.alfresco.repo.batch.BatchMonitorEvent>

@Service("batchQueueService") public class BatchQueueServiceImpl extends Object implements BatchQueueService, org.springframework.context.ApplicationListener<org.alfresco.repo.batch.BatchMonitorEvent>

BatchQueueServiceImpl class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • logger

      private static final org.apache.commons.logging.Log logger
    • transactionService

      @Autowired private org.alfresco.service.transaction.TransactionService transactionService
    • applicationEventPublisher

      @Autowired private org.springframework.context.ApplicationEventPublisher applicationEventPublisher
    • beCPGMailService

      @Autowired private BeCPGMailService beCPGMailService
    • threadExecutorMap

      @Autowired @Qualifier("batchThreadPoolExecutorMap") private Map<String,ThreadPoolExecutor> threadExecutorMap
    • tenantAdminService

      @Autowired private org.alfresco.repo.tenant.TenantAdminService tenantAdminService
    • beCPGAuditService

      @Autowired private BeCPGAuditService beCPGAuditService
    • lastRunningBatch

      private org.alfresco.repo.batch.BatchMonitor lastRunningBatch
    • runningCommands

      private List<BatchQueueServiceImpl.BatchCommand<?>> runningCommands
    • cancelledBatches

      private Set<String> cancelledBatches
    • pausedCommands

      private Deque<BatchQueueServiceImpl.BatchCommand<?>> pausedCommands
    • batchQueueLock

      private ReentrantLock batchQueueLock
    • CANCELLED

      private static final String CANCELLED
      See Also:
    • PERCENT_COMPLETED

      private static final String PERCENT_COMPLETED
      See Also:
    • STEPS_MAX

      private static final String STEPS_MAX
      See Also:
    • STEP_COUNT

      private static final String STEP_COUNT
      See Also:
  • Constructor Details

    • BatchQueueServiceImpl

      public BatchQueueServiceImpl()
  • Method Details