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

com.foxinmy.weixin4j.cache.CacheCreator Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
package com.foxinmy.weixin4j.cache;

import com.foxinmy.weixin4j.exception.WeixinException;

/**
 * Cache的创建
 *
 * @className CacheCreator
 * @author jinyu([email protected])
 * @date 2016年5月24日
 * @since JDK 1.6
 * @see
 */
public interface CacheCreator {
	/**
	 * CacheKey
	 *
	 * @return
	 */
	public String key();

	/**
	 * 创建Cache
	 *
	 * @throws WeixinException
	 * @return 缓存对象
	 */
	public T create() throws WeixinException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy