Interface DynamicAttributesExtractor


  • public interface DynamicAttributesExtractor
    Dynamic indexing API
    Author:
    vfunshte
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.util.Map<java.lang.String,​T> attributesFor​(Element element)
      Given a particular cache element, returns a map from attribute names, to their respective values to use for indexing.
    • Method Detail

      • attributesFor

        <T> java.util.Map<java.lang.String,​T> attributesFor​(Element element)
        Given a particular cache element, returns a map from attribute names, to their respective values to use for indexing. This method will be called once for every Ehcache.put(Element) and Ehcache#replace(Element) call.
        Parameters:
        element -
        Returns: