Get rid of some awful debug bits.
This commit is contained in:
@@ -198,28 +198,20 @@ public class EHCacheAdapter
|
|||||||
EHCacheKey key = (EHCacheKey)element.getKey();
|
EHCacheKey key = (EHCacheKey)element.getKey();
|
||||||
EHCacheBin<?> bin = _bins.get(key.getCacheId());
|
EHCacheBin<?> bin = _bins.get(key.getCacheId());
|
||||||
if (bin == null) {
|
if (bin == null) {
|
||||||
log.warning("Dropping element removal without cache bin", "key", key);
|
log.debug("Dropping element removal without cache bin", "key", key);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bin.removeKey(key.getCacheKey());
|
bin.removeKey(key.getCacheKey());
|
||||||
for (Tuple<Serializable, CachedValue<Object>> tuple :
|
|
||||||
enumerate(((EHCacheKey) element.getKey()).getCacheId())) {
|
|
||||||
log.debug("Enumeration: " + tuple);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
protected void addToBin (Ehcache cache, Element element)
|
protected void addToBin (Ehcache cache, Element element)
|
||||||
{
|
{
|
||||||
EHCacheKey key = (EHCacheKey)element.getKey();
|
EHCacheKey key = (EHCacheKey)element.getKey();
|
||||||
EHCacheBin<?> bin = _bins.get(key.getCacheId());
|
EHCacheBin<?> bin = _bins.get(key.getCacheId());
|
||||||
if (bin == null) {
|
if (bin == null) {
|
||||||
log.warning("Dropping element addition without cache bin", "key", key);
|
log.debug("Dropping element addition without cache bin", "key", key);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bin.addKey(key.getCacheKey());
|
bin.addKey(key.getCacheKey());
|
||||||
for (Tuple<Serializable, CachedValue<Object>> tuple :
|
|
||||||
enumerate(((EHCacheKey) element.getKey()).getCacheId())) {
|
|
||||||
log.debug("Enumeration: " + tuple);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user