public class LruCache extends LimitedCache
AbstractCache.CacheIterator| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
Object |
getObject(Object key) |
int |
getSize() |
boolean |
hasKey(Object key) |
Set<Object> |
keys() |
void |
putObject(Object key,
Object value) |
Object |
removeObject(Object key) |
void |
setStore(Store store) |
String |
toString() |
expiredCache, expiredCache, fifoCache, iterator, lifoCache, lruCache, masterStandbyCache, sortedCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, iterator, spliteratorpublic LruCache(int maxSize)
public LruCache(Cache delegate, int maxSize)
public void setStore(Store store)
setStore 在类中 LimitedCachepublic int getSize()
public void clear()
public boolean hasKey(Object key)
Copyright © 2020. All rights reserved.