Interface KeyValueFilter<K,​V>

    • Method Detail

      • accept

        boolean accept​(K key,
                       V value,
                       Metadata metadata)
        Parameters:
        key - key to test
        value - value to use (could be null for the case of removal)
        metadata - metadata
        Returns:
        true if the given key is accepted by this filter.
      • format

        default org.infinispan.commons.dataconversion.MediaType format()
        Returns:
        The desired data format to be used in the accept(Object, Object, Metadata) operation. If null, the filter will receive data as it's stored.