@ManagedAnnotation("name") @ManagedDescription("The name of the ManagedExecutor") public String getName() { return managedObject.getName(); }
@ManagedAnnotation("name") @ManagedDescription("The name of the ManagedExecutor") public String getName() { return managedObject.getName(); }
public ManagedExecutorServiceMBean(HazelcastInstance hazelcastInstance, ManagedExecutorService executorService, ManagementService service) { super(executorService, service); final Map<String, String> properties = createHashMap(INITIAL_CAPACITY); properties.put("type", quote("HazelcastInstance.ManagedExecutorService")); properties.put("name", quote(executorService.getName())); properties.put("instance", quote(hazelcastInstance.getName())); setObjectName(properties); }
public ManagedExecutorServiceMBean(HazelcastInstance hazelcastInstance, ManagedExecutorService executorService, ManagementService service) { super(executorService, service); final Map<String, String> properties = createHashMap(INITIAL_CAPACITY); properties.put("type", quote("HazelcastInstance.ManagedExecutorService")); properties.put("name", quote(executorService.getName())); properties.put("instance", quote(hazelcastInstance.getName())); setObjectName(properties); }
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(); }