brave.sampler.Matcher Maven / Gradle / Ivy
/*
* Copyright The OpenZipkin Authors
* SPDX-License-Identifier: Apache-2.0
*/
package brave.sampler;
/**
* Returns true if this rule matches the input parameters
*
* Implement {@link #hashCode()} and {@link #equals(Object)} if you want to replace existing
* rules by something besides object identity.
*
* @see Matchers
* @since 5.8
*/
public interface Matcher
{
boolean matches(P parameters);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy