@Test public void evict(){ imcache.put(1, 1); imcache.evict(1); assertNull(cache.get(1)); }
public void evict(Object key) { cache.invalidate(key); }
ImcacheCache implements org.springframework.cache.Cache { public void evict(Object key) { cache.invalidate(key); } }
ImcacheCache implements org.springframework.cache.Cache { public void evict(Object key) { cache.invalidate(key); } @SuppressWarnings("unchecked")  ImcacheCache(final Cache<Object, Object> cache); }
ImcacheCache implements org.springframework.cache.Cache { public void evict(Object key) { cache.invalidate(key); } @SuppressWarnings("unchecked")  ImcacheCache(final Cache<Object, Object> cache); String getName(); Object getNativeCache(); ValueWrapper get(Object key); void put(Object key, Object value); void evict(Object key); void clear(); @SuppressWarnings("unchecked") T get(Object key, Class<T> clazz); }
ImcacheCache implements org.springframework.cache.Cache { public void evict(Object key) { cache.invalidate(key); } @SuppressWarnings("unchecked")  ImcacheCache(final Cache<Object, Object> cache); String getName(); Object getNativeCache(); ValueWrapper get(Object key); void put(Object key, Object value); void evict(Object key); void clear(); @SuppressWarnings("unchecked") T get(Object key, Class<T> clazz);  }