@ManagedResource(description="Worker Nodes Managing API") public class WorkersMBean extends Object
| Constructor and Description |
|---|
WorkersMBean() |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveWorkers() |
int |
getTotalWorkers() |
String |
showWorkers() |
@ManagedAttribute(description="Number of active workers") public int getActiveWorkers()
@ManagedAttribute(description="Number of all registered workers") public int getTotalWorkers()
@ManagedOperation(description="Returns a list of all registered workers") public String showWorkers() throws IOException
IOExceptionCopyright © 2021. All rights reserved.