| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.cache.builder | |
| com.alibaba.nacos.common.cache.decorators | |
| com.alibaba.nacos.common.cache.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache<K,V> |
CacheBuilder.build()
Build the cache according to the builder attribute.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AutoExpireCache<K,V>
A wrapper that automatically expires the cache.
|
class |
LruCache<K,V>
A wrapper that lru cache.
|
class |
SynchronizedCache<K,V>
A wrapper that thread-safe cache.
|
| 构造器和说明 |
|---|
AutoExpireCache(Cache<K,V> delegate,
long expireNanos) |
LruCache(Cache<K,V> delegate,
int size) |
SynchronizedCache(Cache<K,V> delegate) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleCache<K,V>
Simple implementation of
Cache. |
Copyright © 2018–2024 Alibaba Group. All rights reserved.