}
if (LOG.isTraceEnabled()) {
LOG.trace("Cache " + cacheName + " currently contains " + cacheManager.getCache(cacheName).getSize() + " elements");
}
Ehcache cache = cacheManager.getCache(cacheName);
if (!cache.isKeyInCache(key)) {
if (LOG.isDebugEnabled()) {
LOG.debug("No Key with name: " + key
+ "presently exists in the cache. It is also possible that the key may have expired in the cache."
+ " Replacement will not be performed until an appropriate key/value pair is added to (or) found in the cache.");
}