| 限定符和类型 | 方法和说明 |
|---|---|
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.expireAfterAccess(Duration expireAfterAccess)
Sets cache
expireAfterAccess. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.expireAfterWrite(Duration expireAfterWrite)
Sets cache
expireAfterWrite. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.initialCapacity(int initialCapacity)
Sets cache
initialCapacity. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.maximumSize(long maximumSize)
Sets cache
maximumSize. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.maximumWeight(long maximumWeight)
Sets cache
maximumWeight. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.refreshAfterWrite(Duration refreshAfterWrite)
Sets cache
refreshAfterWrite. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.softValues(boolean softValues)
Sets cache
softValues. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.weakKeys(boolean weakKeys)
Sets cache
weakKeys. |
CaffeineCacheOptions<K,V> |
CaffeineCacheOptions.weakValues(boolean weakValues)
Sets cache
weakValues. |
| 构造器和说明 |
|---|
CaffeineCache(CaffeineCacheOptions<K,V> options) |
Copyright © 2021. All rights reserved.