Interface Criteria

    • Method Detail

      • execute

        boolean execute​(Element element,
                        java.util.Map<java.lang.String,​AttributeExtractor> attributeExtractors)
        Test this criteria against a cache element
        Parameters:
        element - cache element
        attributeExtractors - map of attribute extractors to attribute value names
        Returns:
        true if the criteria matches this element
      • and

        Criteria and​(Criteria other)
        Produce a criteria that is the boolean "and" of this and the given other criteria
        Parameters:
        other -
        Returns:
        and criteria
      • or

        Criteria or​(Criteria other)
        Produce a criteria that is the boolean "or" of this and the given other criteria
        Parameters:
        other -
        Returns:
        or criteria
      • not

        Criteria not()
        Produce a criteria that is the boolean "not" of this
        Returns:
        not criteria