public class LazyCacheLoader<E> extends Object implements CacheLoader<E>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Supplier<E> |
loader |
static Object |
uninitialized |
protected Object |
value |
| 构造器和说明 |
|---|
LazyCacheLoader(boolean initialize,
Supplier<E> loader) |
LazyCacheLoader(Supplier<E> loader) |
public static final Object uninitialized
protected transient volatile Object value
public boolean flushRequired()
flushRequired 在接口中 CacheLoader<E>public E flush(boolean lazy)
flush 在接口中 CacheLoader<E>Copyright © 2019. All rights reserved.