@ManagedAnnotation("remainingQueueCapacity") @ManagedDescription("The remaining capacity on the work queue") public int queueRemainingCapacity() { return managedObject.getRemainingQueueCapacity(); }
@ManagedAnnotation("remainingQueueCapacity") @ManagedDescription("The remaining capacity on the work queue") public int queueRemainingCapacity() { return managedObject.getRemainingQueueCapacity(); }
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(); }