| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.common.cache.local |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> CacheBuilder<K,V> |
CacheBuilder.builder() |
CacheBuilder<K,V> |
CacheBuilder.removalListener(RemovalListener<K,V> removalListener) |
CacheBuilder<K,V> |
CacheBuilder.setExpireAfterAccess(TimeValue expireAfterAccess)
Sets the amount of time before an entry in the cache expires after it was last accessed.
|
CacheBuilder<K,V> |
CacheBuilder.setExpireAfterWrite(TimeValue expireAfterWrite)
Sets the amount of time before an entry in the cache expires after it was written.
|
CacheBuilder<K,V> |
CacheBuilder.setMaximumWeight(long maximumWeight) |
CacheBuilder<K,V> |
CacheBuilder.weigher(ToLongBiFunction<K,V> weigher) |
Copyright © 2021. All rights reserved.