<commit_before>/*
 * Cacheonix Systems licenses this file to You under the LGPL 2.1
 * (the "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *      http://www.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.cacheonix.plugin.primefaces;

import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger;

import org.cacheonix.Cacheonix;
import org.cacheonix.cache.Cache;
import org.primefaces.cache.CacheProvider;

/**
 * Cacheonix offers a cache provider for PrimeFaces, a UI framework for Java EE. The PrimeFaces cache provider allows
 * developers to increase performance and scalability of their web applications by avoiding repeatedly generating
 * content that changes infrequently. Instead, Cacheonix serves the read-mostly content from a fast in-memory cache.
 * Switching between local and distributed cache configurations is done by simply changing Cacheonix' configuration
 * file. Cache provider for PrimeFaces is available beginning with Cacheonix 2.3.0
 * <p/>
 * <strong>Adding Cache Provider to PrimeFaces Application</strong>
 * <p/>
 * <strong>First</strong>, add Cacheonix to your Maven project by adding the following code to the dependencies section
 * of your <i>pom.xml</i>:
 * <pre>
 * &lt;dependency&gt;
 *    &lt;groupId&gt;org.cacheonix&lt;/groupId&gt;
 *    &lt;artifactId&gt;cacheonix-core&lt;/artifactId&gt;
 *    &lt;version&gt;2.3.0&lt;/version&gt;<commit_msg>Updated Javadoc as a part of work on CACHEONIX-475 - Add cache provider for PrimeFaces<commit_after>/*
 * Cacheonix Systems licenses this file to You under the LGPL 2.1
 * (the "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *      http://www.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.cacheonix.plugin.primefaces;

import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Logger;

import org.cacheonix.Cacheonix;
import org.cacheonix.cache.Cache;
import org.primefaces.cache.CacheProvider;

/**
 * Cacheonix offers a cache provider for PrimeFaces, a UI framework for Java EE. The PrimeFaces cache provider allows
 * developers to increase performance and scalability of their web applications by avoiding repeatedly generating
 * content that changes infrequently. Instead, Cacheonix serves the read-mostly content from a fast in-memory cache.
 * Switching between local and distributed cache configurations is done by simply changing Cacheonix' configuration
 * file. Cache provider for PrimeFaces is available beginning with Cacheonix 2.3.0
 * <p/>
 * <strong>Adding Cache to PrimeFaces Application</strong>
 * <p/>
 * <strong>First</strong>, add Cacheonix to your Maven project by adding the following code to the dependencies section
 * of your <i>pom.xml</i>:
 * <pre>
 * &lt;dependency&gt;
 *    &lt;groupId&gt;org.cacheonix&lt;/groupId&gt;
 *    &lt;artifactId&gt;cacheonix-core&lt;/artifactId&gt;
 *    &lt;version&gt;2.3.0&lt;/version&gt;
{'fraction_non_alphanumeric': 0.08669046404895461, 'fraction_numerical': 0.005864354920958694, 'mean_word_length': 4.588319088319088, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1462842', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1079, 'n_words': 425}