A C D E G H I K L M N P R S V W 
All Classes All Packages

A

AbstractCacheFactory<C extends Cache> - Class in cn.sliew.milky.cache
 
AbstractCacheFactory() - Constructor for class cn.sliew.milky.cache.AbstractCacheFactory
 

C

Cache<K,​V> - Interface in cn.sliew.milky.cache
todo 异步功能支持
CacheFactory - Interface in cn.sliew.milky.cache
 
CacheLoader<K,​V> - Interface in cn.sliew.milky.cache
 
CacheOptions<K,​V> - Class in cn.sliew.milky.cache
 
CacheOptions() - Constructor for class cn.sliew.milky.cache.CacheOptions
 
CacheOptions.WriteMode - Enum in cn.sliew.milky.cache
缓存的四种模式:stand by,read through,write through,write behind。
CacheWriter<K,​V> - Interface in cn.sliew.milky.cache
Cache writer used for write-through operations.
clear() - Method in interface cn.sliew.milky.cache.Cache
 
cn.sliew.milky.cache - package cn.sliew.milky.cache
 
cn.sliew.milky.cache.support - package cn.sliew.milky.cache.support
 
computeIfAbsent(K, CacheLoader<K, V>, Duration) - Method in interface cn.sliew.milky.cache.Cache
 
containsKey(K) - Method in interface cn.sliew.milky.cache.Cache
 

D

defaults() - Static method in class cn.sliew.milky.cache.CacheOptions
 
delete(K) - Method in interface cn.sliew.milky.cache.CacheWriter
 
destroy() - Method in interface cn.sliew.milky.cache.Cache
 

E

equals(Object) - Method in class cn.sliew.milky.cache.CacheOptions
 

G

get(K) - Method in interface cn.sliew.milky.cache.Cache
 
getCache(CacheOptions) - Method in class cn.sliew.milky.cache.AbstractCacheFactory
 
getCache(CacheOptions) - Method in interface cn.sliew.milky.cache.CacheFactory
 
getLoader() - Method in class cn.sliew.milky.cache.CacheOptions
 
getName() - Method in class cn.sliew.milky.cache.CacheOptions
 
getWriteBehindThreads() - Method in class cn.sliew.milky.cache.CacheOptions
 
getWriteMode() - Method in class cn.sliew.milky.cache.CacheOptions
 
getWriter() - Method in class cn.sliew.milky.cache.CacheOptions
 

H

hashCode() - Method in class cn.sliew.milky.cache.CacheOptions
 
hotKeyIterator(int) - Method in interface cn.sliew.milky.cache.Cache
 

I

INSTANCE - Static variable in class cn.sliew.milky.cache.support.NullKey
 
INSTANCE - Static variable in class cn.sliew.milky.cache.support.NullValue
 

K

keyIterator() - Method in interface cn.sliew.milky.cache.Cache
 

L

load(K) - Method in interface cn.sliew.milky.cache.CacheLoader
 
loader(CacheLoader<K, V>) - Method in class cn.sliew.milky.cache.CacheOptions
Sets CacheLoader object.

M

map - Variable in class cn.sliew.milky.cache.AbstractCacheFactory
 

N

name() - Method in interface cn.sliew.milky.cache.Cache
 
name(String) - Method in class cn.sliew.milky.cache.CacheOptions
Sets cache name.
newCache(CacheOptions) - Method in class cn.sliew.milky.cache.AbstractCacheFactory
 
NullKey - Class in cn.sliew.milky.cache.support
 
NullKey() - Constructor for class cn.sliew.milky.cache.support.NullKey
 
NullValue - Class in cn.sliew.milky.cache.support
 
NullValue() - Constructor for class cn.sliew.milky.cache.support.NullValue
 

P

put(K, V) - Method in interface cn.sliew.milky.cache.Cache
 
put(K, V, Duration) - Method in interface cn.sliew.milky.cache.Cache
 

R

reload(K, V) - Method in interface cn.sliew.milky.cache.CacheLoader
 
remove(K) - Method in interface cn.sliew.milky.cache.Cache
 
removeAll(Iterable<K>) - Method in interface cn.sliew.milky.cache.Cache
 

S

size() - Method in interface cn.sliew.milky.cache.Cache
 
stats(MeterRegistry) - Method in interface cn.sliew.milky.cache.Cache
通过MeterBinder进行暴露
supportNullKey() - Method in interface cn.sliew.milky.cache.Cache
 
supportNullValue() - Method in interface cn.sliew.milky.cache.Cache
 

V

valueOf(String) - Static method in enum cn.sliew.milky.cache.CacheOptions.WriteMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum cn.sliew.milky.cache.CacheOptions.WriteMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(K, V) - Method in interface cn.sliew.milky.cache.CacheWriter
 
WRITE_BEHIND - cn.sliew.milky.cache.CacheOptions.WriteMode
In write behind mode all data written in map object also written using MapWriter in asynchronous mode.
WRITE_THROUGH - cn.sliew.milky.cache.CacheOptions.WriteMode
In write through mode all write operations for map object are synchronized with MapWriter write operations.
writeBehindThreads(int) - Method in class cn.sliew.milky.cache.CacheOptions
Sets threads amount used in write behind mode.
writeMode(CacheOptions.WriteMode) - Method in class cn.sliew.milky.cache.CacheOptions
Sets write mode.
writer(CacheWriter<K, V>) - Method in class cn.sliew.milky.cache.CacheOptions
Sets CacheWriter object.
A C D E G H I K L M N P R S V W 
All Classes All Packages