| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.cache |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<CacheOptions,C> |
AbstractCacheFactory.map |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> CacheOptions<K,V> |
CacheOptions.defaults() |
CacheOptions<K,V> |
CacheOptions.loader(CacheLoader<K,V> loader)
Sets
CacheLoader object. |
CacheOptions<K,V> |
CacheOptions.name(String name)
Sets cache
name. |
CacheOptions<K,V> |
CacheOptions.writeBehindThreads(int writeBehindThreads)
Sets threads amount used in write behind mode.
|
CacheOptions<K,V> |
CacheOptions.writeMode(CacheOptions.WriteMode writeMode)
Sets write mode.
|
CacheOptions<K,V> |
CacheOptions.writer(CacheWriter<K,V> writer)
Sets
CacheWriter object. |
| 限定符和类型 | 方法和说明 |
|---|---|
C |
AbstractCacheFactory.getCache(CacheOptions options) |
<K,V> Cache<K,V> |
CacheFactory.getCache(CacheOptions options) |
protected abstract C |
AbstractCacheFactory.newCache(CacheOptions options) |
Copyright © 2021. All rights reserved.