程序包 | 说明 |
---|---|
com.fr.cache |
限定符和类型 | 方法和说明 |
---|---|
Unity |
Store.get(java.lang.Object key)
根据指定的键从缓存中获取指定的元素
|
Unity |
MemoryStore.get(java.lang.Object key)
根据指定的键从缓存中获取指定的元素
|
Unity |
FRCache.get(java.lang.Object key)
Gets an element from the cache.
|
Unity |
Store.getQuiet(java.lang.Object key)
根据指定的键从数据存储器中获取缓存元素,并且不统计该对象被拿取
|
Unity |
MemoryStore.getQuiet(java.lang.Object key)
根据指定的键从数据存储器中获取缓存元素,并且不统计该对象被拿取
|
Unity |
Store.remove(java.lang.Object key)
从缓存中移除一个缓存元素
|
Unity |
MemoryStore.remove(java.lang.Object key)
从缓存中移除一个缓存元素
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
MemoryStore.doPut(Unity unity)
通过特定的方式将元素添加到数据缓存器中
|
void |
LfuMemoryStore.doPut(Unity unityJustAdded)
通过特定的方式将元素添加到数据缓存器中
|
protected void |
FifoMemoryStore.doPut(Unity unity)
通过特定的方式将元素添加到数据缓存器中
|
protected void |
MemoryStore.evict(Unity element)
将指定元素移除出数据缓存器
|
boolean |
FRCache.isExpired(Unity unity) |
void |
CacheEventListener.notifyElementEvicted(FRCache cache,
Unity unity)
通知缓存元素被驱逐
|
void |
CacheEventAdapter.notifyElementEvicted(FRCache cache,
Unity unity)
通知缓存元素被驱逐
|
void |
RegisteredEventListeners.notifyElementEvicted(Unity element)
Notifies all registered listeners, in no guaranteed order, that an element has been
evicted from the cache
|
void |
CacheEventListener.notifyElementExpired(FRCache cache,
Unity unity)
通知缓存元素到期
|
void |
CacheEventAdapter.notifyElementExpired(FRCache cache,
Unity unity)
通知缓存元素到期
|
void |
RegisteredEventListeners.notifyElementExpiry(Unity element)
Notifies all registered listeners, in no guaranteed order, that an element has expired
|
void |
CacheEventListener.notifyElementPut(FRCache cache,
Unity unity)
通知添加了缓存元素
|
void |
CacheEventAdapter.notifyElementPut(FRCache cache,
Unity unity)
通知添加了缓存元素
|
void |
RegisteredEventListeners.notifyElementPut(Unity element)
Notifies all registered listeners, in no guaranteed order, that an element was put into the cache
|
void |
CacheEventListener.notifyElementRemoved(FRCache cache,
Unity unity)
通知移除了缓存元素
|
void |
CacheEventAdapter.notifyElementRemoved(FRCache cache,
Unity unity)
通知移除了缓存元素
|
void |
RegisteredEventListeners.notifyElementRemoved(Unity element)
Notifies all registered listeners, in no guaranteed order, that an element was removed
|
void |
CacheEventListener.notifyElementUpdated(FRCache cache,
Unity unity)
通知更新了缓存元素
|
void |
CacheEventAdapter.notifyElementUpdated(FRCache cache,
Unity unity)
通知更新了缓存元素
|
void |
RegisteredEventListeners.notifyElementUpdated(Unity element)
Notifies all registered listeners, in no guaranteed order, that an element in the cache was updated
|
protected void |
MemoryStore.notifyExpiry(Unity unity)
在元素被移除前通知该元素将被移除
|
void |
Store.put(Unity element)
放置一个元素到缓存中
|
void |
MemoryStore.put(Unity unity)
放置一个元素到缓存中
|
void |
FRCache.put(Unity unity) |