<commit_before>/*
 * Hibernate OGM, Domain model persistence for NoSQL datastores
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.ogm.datastore.infinispanremote.options.cache;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.hibernate.ogm.datastore.infinispanremote.options.cache.impl.CacheTemplateConverter;

import org.hibernate.ogm.options.spi.MappingOption;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@MappingOption( CacheTemplateConverter.class )
public @interface CacheTemplate {
	String value();
}<commit_msg>OGM-1405 Add javadoc to @CacheTemplate<commit_after>/*
 * Hibernate OGM, Domain model persistence for NoSQL datastores
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.ogm.datastore.infinispanremote.options.cache;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.hibernate.ogm.datastore.infinispanremote.InfinispanRemoteProperties;
import org.hibernate.ogm.datastore.infinispanremote.options.cache.impl.CacheTemplateConverter;
import org.hibernate.ogm.datastore.keyvalue.options.CacheMappingType;
import org.hibernate.ogm.options.spi.MappingOption;

/**
 * Define the template to use when the cache associated to the entity is created.
 * <p>
 * Overrides the global default template set using {@link InfinispanRemoteProperties#NEW_CACHE_TEMPLATE}
 * set using for the specific entity cache.
 * <p>
 * This annotation is used only when {@link CacheMappingType#CACHE_PER_TABLE} strategy is used.
 *
 * @author <NAME>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@MappingOption( CacheTemplateConverter.class )
public @interface CacheTemplate {
	String value();
}
{'fraction_non_alphanumeric': 0.1014760147601476, 'fraction_numerical': 0.005535055350553505, 'mean_word_length': 5.673846153846154, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3026934', 'n_tokens_mistral': 679, 'n_tokens_neox': 644, 'n_words': 159}