com.jdon.controller.cache
接口 Cache
- 所有已知实现类:
- EncacheProvider, GuavaCacheProvider, LRUCache
public interface Cache
Cache interface A Cache object is responsible for managing a collection of
cached objects Given an ObjectKey object, a Cache object quickly finds the
corresponding cached object. The Cache-Manager object passes an ObjectKey
object to the Cache object’s fetchObject method to get a cached object from
the cache
- 作者:
- banq
get
Object get(Object key)
put
void put(Object key,
Object value)
remove
void remove(Object key)
size
long size()
clear
void clear()
contain
boolean contain(Object key)
keySet
Collection keySet()
getCacheHits
long getCacheHits()
getCacheMisses
long getCacheMisses()
Copyright © 2013. All Rights Reserved.