@ThreadSafe public interface CacheManager
Allows to change policy settings at run-time.
Intentionally does NOT give direct programmatic access to the Cache
.
Modifier and Type | Method and Description |
---|---|
void |
evictAll()
Evict ALL entries from this Cache.
|
BaseCacheConfig |
getConfig()
Get this Cache's (fixed) configuration.
|
CachePolicy |
getPolicy()
Get this Cache's current policy.
|
CacheStats |
getStats()
Get this Cache's latest statistics.
|
void |
setPolicy(CachePolicy newPolicy)
Update this Cache's policy.
|
BaseCacheConfig getConfig()
CacheStats getStats()
CachePolicy.statsEnabled()
.CachePolicy getPolicy()
void setPolicy(CachePolicy newPolicy)
void evictAll()
Use BaseCache.evict(Object)
to evict a single entry.
Copyright © 2019 OpenDaylight. All rights reserved.