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

org.xson.web.cache.ICache Maven / Gradle / Ivy

Go to download

xco-web is an easy to use control layer framework, is part of the SOA system, using xml language to describe the controller.

The newest version!
package org.xson.web.cache;

import java.util.Map;

public interface ICache {

	// void start(Map properties);
	// void start(String resource);

	void start(String resource, Map properties);

	void stop();

	String getId();

	void putObject(Object key, Object value);

	void putObject(Object key, Object value, Integer time);

	Object getObject(Object key);

	Object removeObject(Object key);

	void clear();

	int getSize();

	// ReadWriteLock getReadWriteLock();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy