@MXBeanDescription(value="MBean that provides ability to terminate worker that registered in the workers registry.") public interface WorkersControlMXBean
Modifier and Type | Method and Description |
---|---|
List<String> |
getWorkerNames()
Returns names of all registered workers.
|
boolean |
stopThreadById(long id)
Stops thread by
id , if exists. |
boolean |
stopThreadByUniqueName(String name)
Stops thread by
name , if exists and unique. |
boolean |
terminateWorker(String name)
Terminates worker.
|
@MXBeanDescription(value="Names of registered workers.") List<String> getWorkerNames()
@MXBeanDescription(value="Terminates worker.") @MXBeanParametersNames(value="name") @MXBeanParametersDescriptions(value="Name of worker to terminate.") boolean terminateWorker(String name)
name
- Worker name.True
if worker has been terminated successfully, false
otherwise.@MXBeanDescription(value="Stops thread by unique name.") @MXBeanParametersNames(value="name") @MXBeanParametersDescriptions(value="Name of thread to stop.") boolean stopThreadByUniqueName(String name)
name
, if exists and unique.name
- Thread name.True
if thread has been stopped successfully, false
otherwise.@MXBeanDescription(value="Stops thread by id.") @MXBeanParametersNames(value="id") @MXBeanParametersDescriptions(value="Id of thread to stop.") boolean stopThreadById(long id)
id
, if exists.id
- Thread id.True
if thread has been stopped successfully, false
otherwise.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019