com.jpattern.service.cache.statistics.NullCacheStatistics Maven / Gradle / Ivy
package com.jpattern.service.cache.statistics;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author Francesco Cina'
*
* 5 May 2011
*/
public class NullCacheStatistics implements ICacheStatistics {
private static final long serialVersionUID = 1L;
@Override
public Map getStatistics() {
return new HashMap();
}
@Override
public void addEntry(String key, Object value) {
}
@Override
public ICacheStatisticsEntry getStatistics(String key) {
return new NullCacheStatisticsEntry();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy