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