public boolean isKeyInCache(Object key) { return ehCache.isKeyInCache(key); }
@Override public <K> boolean containsKey(K key) { return ehCache.isKeyInCache(key); }
@Override public boolean contains(Object key) { return getCache().isKeyInCache( key ); }
/** * {@inheritDoc} */ public boolean isKeyInCache(Object key) { return underlyingCache.isKeyInCache(key); }
/** * Returns <code>true</code> if this region contains data for the given key. * <p> * This is a Hibernate 3.5 method. */ public boolean contains(Object key) { return cache.isKeyInCache(key); } }
/** * {@inheritDoc} */ public boolean isKeyInCache(Object arg0) { // THIS IS GENERATED CODE -- DO NOT HAND MODIFY! Thread t = Thread.currentThread(); ClassLoader prev = t.getContextClassLoader(); t.setContextClassLoader(this.classLoader); try { return this.cache.isKeyInCache(arg0); } finally { t.setContextClassLoader(prev); } }
/** * {@inheritDoc} */ public boolean isKeyInCache(Object key) { return underlyingCache.isKeyInCache(key); }
/** * Returns <code>true</code> if this region contains data for the given key. * <p> * This is a Hibernate 3.5 method. */ public boolean contains(Object key) { return cache.isKeyInCache(key); } }
/** * This does "{@link #get(Object)} != null". * * @see java.util.Map#containsKey(java.lang.Object) */ @Override public boolean containsKey(Object key) { return this.cache.isKeyInCache(key); }
@Override public <K> boolean containsKey(K key) { return ehCache.isKeyInCache(key); }
public boolean isKeyInCache(Object key) { return ehcache.isKeyInCache(key); }
public boolean exists(String key) { if (key == null) { throw new IllegalArgumentException("key cannot be null"); } return cache.isKeyInCache(key); }
public boolean exists(String key) { if (key == null) { throw new IllegalArgumentException("key cannot be null"); } return cache.isKeyInCache(key); }
public boolean exists(String key) { if (key == null) { throw new IllegalArgumentException("key cannot be null"); } return cache.isKeyInCache(key); }
@Override public boolean containsKey(final K key) { checkNotClosed(); if(key == null) throw new NullPointerException(); return ehcache.isKeyInCache(key); }
@Override public boolean containsKey(final K key) { checkNotClosed(); if(key == null) throw new NullPointerException(); return ehcache.isKeyInCache(key); }
public boolean isKeyInCache(Object key) { ContentCacheKey cckey = (ContentCacheKey)key; return ehcache.isKeyInCache(cckey.getKey()); }
@Override public boolean containsKey(@Nonnull K key) { return delegate.isKeyInCache(wrap(key)); }
public void remove(String identifier) { if (cache != null && !StringUtils.isEmpty(identifier) && cache.isKeyInCache(identifier)) { cache.remove(identifier); } }
public void remove(String identifier) { if (cache != null && !StringUtils.isEmpty(identifier) && cache.isKeyInCache(identifier)) { cache.remove(identifier); } }