<commit_before>package org.neo4j.kernel.ha.zookeeper;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher.Event.KeeperState;
import org.apache.zookeeper.ZooKeeper;

public class ClusterManager extends AbstractZooKeeperManager
{
    private final ZooKeeper zooKeeper;
    private String rootPath;
    private KeeperState state = KeeperState.Disconnected;
    private Map<Integer, String> haServers;
    
    public ClusterManager( String servers )
    {
        super( servers );
        this.zooKeeper = instantiateZooKeeper();
    }
    
    protected void waitForSyncConnected()
    {<commit_msg>Better naming.<commit_after>package org.neo4j.kernel.ha.zookeeper;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher.Event.KeeperState;
import org.apache.zookeeper.ZooKeeper;

public class ClusterManager extends AbstractZooKeeperManager
{
    private final ZooKeeper zooKeeper;
    private String rootPath;
    private KeeperState state = KeeperState.Disconnected;
    private Map<Integer, String> haServers;
    
    public ClusterManager( String zooKeeperServers )
    {
        super( zooKeeperServers );
        this.zooKeeper = instantiateZooKeeper();
    }
    
    protected void waitForSyncConnected()
    {
{'fraction_non_alphanumeric': 0.08115015974440895, 'fraction_numerical': 0.0012779552715654952, 'mean_word_length': 4.20265780730897, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7661366', 'n_tokens_mistral': 514, 'n_tokens_neox': 477, 'n_words': 99}