From 455f922cca1fefbdebee5c91d2e6add6742b9e84 Mon Sep 17 00:00:00 2001 From: LamGC Date: Fri, 4 Sep 2020 23:27:37 +0800 Subject: [PATCH] =?UTF-8?q?[Document]=20=E6=9B=B4=E6=96=B0=20SetCacheStore?= =?UTF-8?q?=20=E7=9A=84=E4=B8=80=E4=BA=9B=E8=AF=B4=E6=98=8E;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Document] SetCacheStore 更新说明; --- .../java/net/lamgc/cgj/bot/cache/SetCacheStore.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ContentGrabbingJi-CacheStore-api/src/main/java/net/lamgc/cgj/bot/cache/SetCacheStore.java b/ContentGrabbingJi-CacheStore-api/src/main/java/net/lamgc/cgj/bot/cache/SetCacheStore.java index 1f10cbe..9c0fd9d 100644 --- a/ContentGrabbingJi-CacheStore-api/src/main/java/net/lamgc/cgj/bot/cache/SetCacheStore.java +++ b/ContentGrabbingJi-CacheStore-api/src/main/java/net/lamgc/cgj/bot/cache/SetCacheStore.java @@ -26,8 +26,12 @@ import java.util.Set; * @author LamGC */ public interface SetCacheStore extends CollectionCacheStore> { - - - - + /* + * 说实话, SetCacheStore 的存在有点...奇怪, 或者可能就没有用, + * 因为根据 2 代对缓存存储的使用情况来看, 用到 Set 的地方根本就没有, + * 而且可能在某些方面实现起来也不是件容易事情. + * 所以 SetCacheStore 可能会废弃掉(最晚也会在正式版出来前), + * 或者有用的话才会为其设计相关方法. + * (比如偏向 Redis 的那套进行设计, 但是我希望不要出现偏向性, 为所有实现提供一个平衡的实现复杂度) + */ }