<commit_before>/*
 * Copyright (c) 2012 Palomino Labs, Inc.
 */

package com.palominolabs.metrics.jersey;

import com.sun.jersey.api.model.AbstractResourceMethod;

import javax.annotation.Nonnull;

interface ResourceMetricNamer {

    /**
     * @param am resource method
     * @return a string name used as the prefix for all metrics about that resource method
     */
    @Nonnull
    String getMetricBaseName(AbstractResourceMethod am);
}<commit_msg>make namer interface public<commit_after>/*
 * Copyright (c) 2012 Palomino Labs, Inc.
 */

package com.palominolabs.metrics.jersey;

import com.sun.jersey.api.model.AbstractResourceMethod;

import javax.annotation.Nonnull;

public interface ResourceMetricNamer {

    /**
     * @param am resource method
     * @return a string name used as the prefix for all metrics about that resource method
     */
    @Nonnull
    String getMetricBaseName(AbstractResourceMethod am);
}
{'fraction_non_alphanumeric': 0.0861141011840689, 'fraction_numerical': 0.008611410118406888, 'mean_word_length': 3.8186528497409324, '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': '7251057', 'n_tokens_mistral': 276, 'n_tokens_neox': 262, 'n_words': 80}