public class LruCache extends BoundedCache
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
Object |
getObject(Object key) |
int |
getSize() |
boolean |
hasKey(Object key) |
Set<Object> |
keys() |
void |
putObject(Object key,
Object value,
boolean ifAbsent) |
Object |
removeObject(Object key) |
void |
setCacheStore(CacheStore store) |
String |
toString() |
disposeexpiredCache, expiredCache, iterator, masterStandbyCache, toEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, getObject, getObject, putObject, toEntriesforEach, iterator, spliteratorprivate CacheStore store
public void setCacheStore(CacheStore store)
setCacheStore 在类中 BoundedCachepublic int getSize()
public void clear()
public boolean hasKey(Object key)
Copyright © 2022. All rights reserved.