Examples of onInstanceConfigChange()


Examples of com.linkedin.helix.InstanceConfigChangeListener.onInstanceConfigChange()

        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:
      {
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

          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);
        }
      } else if (_changeType == CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
        List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

      } else if (_changeType == ChangeType.INSTANCE_CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        InstanceConfigChangeListener listener = (InstanceConfigChangeListener) _listener;
        List<InstanceConfig> configs = _accessor.getChildValues(_propertyKey);
        listener.onInstanceConfigChange(configs, changeContext);

      } else if (_changeType == CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
        List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

          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);
        }
      } else if (_changeType == CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
        List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

          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);
        }
      } else if (_changeType == CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
        List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

          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);
        }
      } else if (_changeType == CONFIG) {
        subscribeForChanges(changeContext, _path, true, true);
        ScopedConfigChangeListener listener = (ScopedConfigChangeListener) _listener;
        List<HelixProperty> configs = _accessor.getChildValues(_propertyKey);
View Full Code Here

Examples of org.apache.helix.InstanceConfigChangeListener.onInstanceConfigChange()

          configChangeListener.onConfigChange(configs, changeContext);
        } else if (_listener instanceof InstanceConfigChangeListener)
        {
          InstanceConfigChangeListener listener = (InstanceConfigChangeListener) _listener;
          List<InstanceConfig> configs = _accessor.getChildValues(_propertyKey);
          listener.onInstanceConfigChange(configs, changeContext);       
        }   
      }
      else if (_changeType == CONFIG)
      {
            subscribeForChanges(changeContext, _path, true, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.