Package com.linkedin.helix

Examples of com.linkedin.helix.InstanceConfigChangeListener


        ConfigChangeListener configChangeListener = (ConfigChangeListener) _listener;
        List<InstanceConfig> configs = _accessor.getChildValues(_propertyKey);
        configChangeListener.onConfigChange(configs, changeContext);
      } else if (_listener instanceof InstanceConfigChangeListener)
      {
        InstanceConfigChangeListener listener = (InstanceConfigChangeListener) _listener;
        List<InstanceConfig> configs = _accessor.getChildValues(_propertyKey);
        listener.onInstanceConfigChange(configs, changeContext);       
      }
      break;
      }
      case CONFIG:
      {
        subscribeForChanges(changeContext, _path, true, true);
    ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
    List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
    listener.onConfigChange(configs, changeContext);
    break;
      }
      case LIVE_INSTANCE:
      {
        LiveInstanceChangeListener liveInstanceChangeListener =
View Full Code Here

TOP

Related Classes of com.linkedin.helix.InstanceConfigChangeListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.