<commit_before>package org.I0Itec.zkclient;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicInteger;

import org.apache.log4j.Logger;

/**
 * All listeners registered at the {@link ZkClient} will be notified from this event thread. This is not prevent dead-lock situations. The ZkClient pulls some
 * information out of the Zookeeper events and signals {@link ZkLock} conditions. Using the same Zookeeper event thread to also notify listeners, would stop the
 * ZkClient from maintaining those properties as soon as one of the listeners doesn't return. This can for example happen, if one of the listeners waits until
 * ZkClient changes its status to SyncConnected.
 */<commit_msg>Updated javadoc.<commit_after>package org.I0Itec.zkclient;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.atomic.AtomicInteger;

import org.apache.log4j.Logger;
import org.apache.zookeeper.ZooKeeper;

/**
 * All listeners registered at the {@link ZkClient} will be notified from this event thread. This is to prevent
 * dead-lock situations. The {@link ZkClient} pulls some information out of the {@link ZooKeeper} events to signal
 * {@link ZkLock} conditions. Re-using the {@link ZooKeeper} event thread to also notify {@link ZkClient} listeners,
 * would stop the ZkClient from receiving events from {@link ZooKeeper} as soon as one of the listeners blocks (because
 * it is waiting for something). {@link ZkClient} would then for instance not be able to maintain it's connection state
 * anymore.
 */
{'fraction_non_alphanumeric': 0.07351154313487242, 'fraction_numerical': 0.002430133657351154, 'mean_word_length': 5.032967032967033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '525622', 'n_tokens_mistral': 455, 'n_tokens_neox': 436, 'n_words': 191}