@ManagedAnnotation("completedTaskCount") @ManagedDescription("The number of tasks this ManagedExecutor has executed") public long getExecutedCount() { return managedObject.getCompletedTaskCount(); } }
@ManagedAnnotation("completedTaskCount") @ManagedDescription("The number of tasks this ManagedExecutor has executed") public long getExecutedCount() { return managedObject.getCompletedTaskCount(); } }
public void stopPopulation() { ExecutionService svc = nodeEngine.getExecutionService(); ManagedExecutorService mes = svc.getExecutor(MAP_LOADER_EXECUTOR); if (mes != null) { logger.info("stopPopulation; stopping.. completed load tasks: {}; remaining load tasks: {}", mes.getCompletedTaskCount(), mes.getQueueSize()); } allowPopulation = false; stopTime.set(nodeEngine.getClusterService().getClusterTime()); }
public ManagedExecutorDTO(ManagedExecutorService executorService) { this.name = executorService.getName(); this.queueSize = executorService.getQueueSize(); this.poolSize = executorService.getPoolSize(); this.remainingQueueCapacity = executorService.getRemainingQueueCapacity(); this.maximumPoolSize = executorService.getMaximumPoolSize(); this.isTerminated = executorService.isTerminated(); this.completedTaskCount = executorService.getCompletedTaskCount(); }
public ManagedExecutorDTO(ManagedExecutorService executorService) { this.name = executorService.getName(); this.queueSize = executorService.getQueueSize(); this.poolSize = executorService.getPoolSize(); this.remainingQueueCapacity = executorService.getRemainingQueueCapacity(); this.maximumPoolSize = executorService.getMaximumPoolSize(); this.isTerminated = executorService.isTerminated(); this.completedTaskCount = executorService.getCompletedTaskCount(); }