mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-29 22:27:33 +00:00
[Add][Document] CacheStore-API 更新 Javadoc 并添加初版 Readme.md;
[Add] README.md 增加子模块的 Readme; [Document] CollectionCacheStore 更新 Javadoc;
This commit is contained in:
parent
7d7085f8c5
commit
1c634af225
10
ContentGrabbingJi-CacheStore-api/README.md
Normal file
10
ContentGrabbingJi-CacheStore-api/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# CacheStore-API #
|
||||
|
||||
如需开发更多缓存组件,至少需要实现以下接口:
|
||||
- CacheStore
|
||||
- 不一定要实现该接口, 可以直接实现 具体的接口(比如 `SingleCacheStore`)
|
||||
- CacheStoreFactory
|
||||
- 你还需要为其添加 `@Factory` 注解,否则不会生效。
|
||||
- SingleCacheStore
|
||||
|
||||
正常情况下,该模块不需要进行更改,即使需要更改,也需要保证向后兼容性。
|
@ -22,6 +22,8 @@ import java.util.Collection;
|
||||
/**
|
||||
* 集合型缓存存储容器.
|
||||
* @param <E> 元素类型.
|
||||
* @param <C> 集合类型.
|
||||
* @see Collection
|
||||
* @author LamGC
|
||||
*/
|
||||
public interface CollectionCacheStore<E, C extends Collection<E>> extends CacheStore<C> {
|
||||
|
Loading…
Reference in New Issue
Block a user