title: Detecting if cache was hit
body: <p>I have a webapp based on jee6 deployed on Weblogic.</p>
  
  <p>I am using JPA (EclipseLink) and i enabled some entities with </p>
  
  <pre><code>@Cache(type = CacheType.SOFT, size = 10000, expiry = 360000)
  </code></pre>
  
  <p>Now how can i detect if the cache is used ? is there a way to have some cache hits statistics ?</p>
  
  <p>Thanks</p>