public void onMessage(String instanceName, List<Message> messages,
NotificationContext changeContext) {
HelixManager manager = changeContext.getManager();
if (_messageQueueMonitor == null) {
_messageQueueMonitor =
new MessageQueueMonitor(manager.getClusterName(), manager.getInstanceName());
}
// If FINALIZE notification comes, reset all handler factories
// and terminate all the thread pools
// TODO: see if we should have a separate notification call for resetting