All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.gwt.client.cache.NullCache Maven / Gradle / Ivy

package com.jpattern.gwt.client.cache;

/**
 * 
 * @author Francesco Cina
 *
 * 26/lug/2011
 */
public class NullCache implements ICache {

	@Override
	public void put(String key, Object value) {
	}

	@Override
	public void remove(String key) {
	}

	@Override
	public Object get(String key) {
		return null;
	}

	@Override
	public  T get(String key, Class clazz) {
		return null;
	}

	@Override
	public int cacheSize() {
		return 0;
	}

	@Override
	public int getMissing() {
		return 0;
	}

	@Override
	public int getHits() {
		return 0;
	}

	@Override
	public int getTotalcalls() {
		return 0;
	}

	@Override
	public void clear() {
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy