mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Fix] 修复 CollectionCacheStore#clearCollection 没有 key 参数的问题;
[Fix] CollectionCacheStore 为 clearCollection 方法添加 key 参数以指定缓存项;
This commit is contained in:
parent
6f8e03baf5
commit
1420cd337b
@ -73,9 +73,10 @@ public interface CollectionCacheStore<E> extends CacheStore<Collection<E>> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 清空集合中的所有元素.
|
* 清空集合中的所有元素.
|
||||||
|
* @param key 欲清空集合的缓存项键名.
|
||||||
* @return 操作成功返回 true.
|
* @return 操作成功返回 true.
|
||||||
*/
|
*/
|
||||||
boolean clearCollection();
|
boolean clearCollection(String key);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除缓存项中指定的元素.
|
* 删除缓存项中指定的元素.
|
||||||
|
Loading…
Reference in New Issue
Block a user