code: public LeaderLatch leaderLatchInstance(String serverId, String zkRoot) {
          return new LeaderLatch(curatorFramework, zkRoot+APACHE_ATLAS_LEADER_ELECTOR_PATH, serverId);
      }
docs: Create a new instance {@link LeaderLatch}
  @param serverId the ID used to register this instance with curator.
  This ID should typically be obtained using
  {@link org.apache.atlas.ha.AtlasServerIdSelector#selectServerId(Configuration)}
  @param zkRoot the root znode under which the leader latch node is added.
  @return