Interface ESCacheHelper

All Known Implementing Classes:
ESCacheHelper.Wrapper

public interface ESCacheHelper
Cache helper that allows swapping in implementations that are different to Lucene's IndexReader.CacheHelper which ties its lifecycle to that of the underlying reader. For FrozenEngine, which opens / closes readers on-demand, we don't want caches to be invalidated as soon as a given search terminates, but want to tie the entry in the cache to the lifecycle of the shard.