JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
SEARCH:
Uses of Interface
com.luna.common.anno.Func0
Packages that use
Func0
Package
Description
com.luna.common.cache
缓存简单实现 愿意消耗一些内存空间来提升速度 预料到某些键会被多次查询 缓存中存放的数据总量不会超出内存容量 要更快的响应,缓存不需要网络 io(集中式缓存需要额外网络 io)
Uses of
Func0
in
com.luna.common.cache
Methods in
com.luna.common.cache
with parameters of type
Func0
Modifier and Type
Method
Description
V
SimpleCache.
get
(
K
key,
Func0
<
V
> supplier)
从缓存中获得对象,当对象不在缓存中或已经过期返回Func0回调产生的对象