<commit_before><?php
/**
 * beanstalk: A minimalistic PHP beanstalk client.
 *
 * Copyright (c) 2009-2014 <NAME>
 *
 * Distributed under the terms of the MIT License.
 * Redistributions of files must retain the above copyright notice.
 */

namespace Beanstalk;

use RuntimeException;

/**
 * An interface to the beanstalk queue service. Implements the beanstalk
 * protocol spec 1.9. Where appropriate the documentation from the protocol
 * has been added to the docblocks in this class.
 *
 * @link https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt
 */
class Client {

	/**
	 * Holds a boolean indicating whether a connection to the server is
	 * currently established or not.
	 *<commit_msg>Adding MIN_ and MAX_PRIORITY constants.<commit_after><?php
/**
 * beanstalk: A minimalistic PHP beanstalk client.
 *
 * Copyright (c) 2009-2014 <NAME>
 *
 * Distributed under the terms of the MIT License.
 * Redistributions of files must retain the above copyright notice.
 */

namespace Beanstalk;

use RuntimeException;

/**
 * An interface to the beanstalk queue service. Implements the beanstalk
 * protocol spec 1.9. Where appropriate the documentation from the protocol
 * has been added to the docblocks in this class.
 *
 * @link https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt
 */
class Client {

	/**
	 * Minimum priority value which can be assigned to a job. The minimum
	 * priority value is also the _highest priority_ a job can have.
	 *
	 * @var integer
	 */
	const MIN_PRIORITY = 0;

	/**
	 * Maximum priority value which can be assigned to a job. The maximum
	 * priority value is also the _lowest priority_ a job can have.
	 *
	 * @var integer
	 */
	const MAX_PRIORITY = 4294967295;

	/**
	 * Holds a boolean indicating whether a connection to the server is
	 * currently established or not.
	 *
{'fraction_non_alphanumeric': 0.0824235807860262, 'fraction_numerical': 0.016921397379912665, 'mean_word_length': 3.537128712871287, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1821680', 'n_tokens_mistral': 553, 'n_tokens_neox': 489, 'n_words': 220}