67dca4da9d
This patch adds a notification support for the repair in StorageService. When a repair command starts a timer is set to check the status of the repair, when the repair complets it sends notification for the successful or fail of the repair. Because jconsole doesn't run method with variable number of parameters an additional MBean method was added for async repair with only a keyspace as its parameter. All the forceAsycRepair methods are mapped to the asyncRepair metod that replaces them in 2.2, when options will be supported in the repair, it will be added to the jmx. After this patch it is possible to register in the jconsole for notification, perform a forceAsyncRepair and get the notification that the repair complets |
||
---|---|---|
.. | ||
CacheService.java | ||
CacheServiceMBean.java | ||
StorageProxy.java | ||
StorageProxyMBean.java | ||
StorageService.java | ||
StorageServiceMBean.java |