Package org.apache.ignite.mxbean
Interface WorkersControlMXBean
- 
 @MXBeanDescription("MBean that provides ability to terminate worker that registered in the workers registry.") public interface WorkersControlMXBean MBean that provides ability to terminate worker that registered in the workers registry.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getWorkerNames()Returns names of all registered workers.booleanstopThreadById(long id)Stops thread byid, if exists.booleanstopThreadByUniqueName(String name)Stops thread byname, if exists and unique.booleanterminateWorker(String name)Terminates worker.
 
- 
- 
- 
Method Detail- 
getWorkerNames@MXBeanDescription("Names of registered workers.") List<String> getWorkerNames() Returns names of all registered workers.- Returns:
- Worker names.
 
 - 
terminateWorker@MXBeanDescription("Terminates worker.") boolean terminateWorker(@MXBeanParameter(name="name",description="Name of worker to terminate.") String name) Terminates worker.- Parameters:
- name- Worker name.
- Returns:
- Trueif worker has been terminated successfully,- falseotherwise.
 
 - 
stopThreadByUniqueName@MXBeanDescription("Stops thread by unique name.") boolean stopThreadByUniqueName(@MXBeanParameter(name="name",description="Name of thread to stop.") String name) Stops thread byname, if exists and unique.- Parameters:
- name- Thread name.
- Returns:
- Trueif thread has been stopped successfully,- falseotherwise.
 
 - 
stopThreadById@MXBeanDescription("Stops thread by id.") boolean stopThreadById(@MXBeanParameter(name="id",description="Id of thread to stop.") long id) Stops thread byid, if exists.- Parameters:
- id- Thread id.
- Returns:
- Trueif thread has been stopped successfully,- falseotherwise.
 
 
- 
 
-