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

com.jpattern.service.cache.ICache Maven / Gradle / Ivy

There is a newer version: 3.6.2
Show newest version
package com.jpattern.service.cache;

import java.io.Serializable;

import com.jpattern.service.cache.statistics.ICacheStatistics;

/**
 * 
 * @author Francesco Cina'
 *
 * 2 May 2011
 */
public interface ICache {
	
	 T get(String key, Class clazz);
	
	Serializable get(String key);
	
	void put(String key, Serializable value);
	
	void remove(String key);
	
	void clear();

	boolean contains(String key);
	
	ICacheStatistics getCacheStatistics();
	
	String getName();
	
	int getSize();
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy