Package com.foxinmy.weixin4j.cache
Interface CacheCreator<T extends Cacheable>
-
- All Known Implementing Classes:
TokenCreator
,WeixinComponentPreCodeCreator
,WeixinComponentTokenCreator
,WeixinProviderTokenCreator
,WeixinSuitePreCodeCreator
,WeixinSuiteTokenCreator
,WeixinTicketCreator
,WeixinTicketCreator
,WeixinTokenComponentCreator
,WeixinTokenCreator
,WeixinTokenCreator
,WeixinTokenSuiteCreator
public interface CacheCreator<T extends Cacheable>
Cache的创建- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create()
创建CacheString
key()
CacheKey
-
-
-
Method Detail
-
key
String key()
CacheKey- Returns:
-
create
T create() throws WeixinException
创建Cache- Returns:
- 缓存对象
- Throws:
WeixinException
-
-