alibaba / alibaba/jetcache

缓存实例具体指的是?

Open
#482 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

jetcache.[local|remote].${area}.limit
每个缓存实例的最大元素的全局配置,仅local类型的缓存需要指定。注意是每个缓存实例的限制,而不是全部,比如这里指定100,然后用@CreateCache创建了两个缓存实例(并且注解上没有设置localLimit属性),那么每个缓存实例的限制都是100
请问这里的缓存实例指的是什么,可不可以理解为例如:@Cached(name = "a", key = "b", cacheType = CacheType.BOTH)这里的a就是一个缓存实例

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the documented jetcache.[local|remote].${area}.limit setting and the @CreateCache and @Cached examples mentioned in the issue. Check how the project defines a cache instance, then clarify whether the cache named "a" is one instance and how the per-instance local limit applies.】【。

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.