All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.agent.config.JarCollectorConfig Maven / Gradle / Ivy

The newest version!
/*
 *
 *  * Copyright 2020 New Relic Corporation. All rights reserved.
 *  * SPDX-License-Identifier: Apache-2.0
 *
 */

package com.newrelic.agent.config;

import com.newrelic.agent.service.module.JarCollectorService;

public interface JarCollectorConfig {

    /**
     * True if the {@link JarCollectorService} is enabled, else false.
     *
     * @return true if the {@link JarCollectorService} is enabled.
     */
    boolean isEnabled();

    /**
     * True if temp jars should be skipped.
     *
     * @return true if temp jars should be skipped.
     */
    boolean skipTempJars();

    /**
     * The maximum number of jars to process per second. Must be positive.
     *
     * @return The number of jars to process per second.
     */
    int getJarsPerSecond();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy