title: Spring/EhCache removing specific keys from the cache
body: <pre><code>@Cacheable(cacheName = "cacheOne")
  public Map&lt;String, Object&gt; getSomeData(List&lt;String&gt; taglist,String queryString) {
  </code></pre>
  
  <p>I am using ehcache with Spring as shown in the code above. I can clear all the keys in <strong>cacheOne</strong> by doing this :</p>
  
  <p><strong>cacheManager.getCache("cacheOne").removeAll();</strong></p>
  
  <p>But what if I need to remove only those keys from this cache where taglist contains a particular tag? For e.g. I want to remove all the entries in <strong>cacheOne</strong> where there taglist contains a tag <strong>cricket</strong>?</p>