com.wavefront.agent.preprocessor.AnnotatedPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.preprocessor;
import java.util.function.Predicate;
import javax.annotation.Nullable;
/**
* Base for all "filter"-type rules.
*
* Created by Vasily on 9/15/16.
*/
public interface AnnotatedPredicate extends Predicate {
@Override
default boolean test(T input) {
return test(input, null);
}
boolean test(T input, @Nullable String[] messageHolder);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy