com.jpattern.service.cache.NullCacheService Maven / Gradle / Ivy
package com.jpattern.service.cache;
import java.io.Serializable;
/**
*
* @author Francesco Cina
*
* 23 Sep 2011
*/
public class NullCacheService implements ICacheService, Serializable {
private static final long serialVersionUID = 1L;
@Override
public String getName() {
return "";
}
@Override
public ICache getCache(String cacheName) {
return new NullCache();
}
@Override
public void stopService() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy