ehcache

net.sf.ehcache.search.attribute
Interface DynamicAttributesExtractor


public interface DynamicAttributesExtractor

Dynamic indexing API

Author:
vfunshte

Method Summary
<T> Map<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> Map<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:

ehcache

Copyright 2001-2017, Terracotta, Inc.