Package com.linkedin.helix

Examples of com.linkedin.helix.ZNRecordUpdater


  public DataUpdater<ZNRecord> getZNRecordUpdater()
  {
    if(_code == OpCode.SET)

    {
      return new ZNRecordUpdater(_record)
      {
        @Override
        public ZNRecord update(ZNRecord current)
        {
          return _record;
        }
      };
    }
    else if ((_code == OpCode.UPDATE))
    {
      return new ZNRecordUpdater(_record);
    }
    else
    {
      throw new UnsupportedOperationException("Not supported : " + _code);
    }
View Full Code Here

TOP

Related Classes of com.linkedin.helix.ZNRecordUpdater

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.