Class BoundedLocalCache.BoundedLocalManualCache<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.BoundedLocalCache.BoundedLocalManualCache<K,V>
- All Implemented Interfaces:
Cache<K,
,V> LocalManualCache<BoundedLocalCache<K,
,V>, K, V> Serializable
- Direct Known Subclasses:
BoundedLocalCache.BoundedLocalLoadingCache
- Enclosing class:
- BoundedLocalCache<K,
V>
static class BoundedLocalCache.BoundedLocalManualCache<K,V>
extends Object
implements LocalManualCache<BoundedLocalCache<K,V>,K,V>, Serializable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BoundedLocalCache<K,
V> (package private) final boolean
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionBoundedLocalManualCache
(Caffeine<K, V> builder) BoundedLocalManualCache
(Caffeine<K, V> builder, CacheLoader<? super K, V> loader) -
Method Summary
Modifier and TypeMethodDescriptioncache()
Returns the backingLocalCache
data store.policy()
Returns access to inspect and perform low-level operations on this cache based on its runtime characteristics.private void
readObject
(ObjectInputStream stream) (package private) Object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.benmanes.caffeine.cache.LocalManualCache
asMap, cleanUp, estimatedSize, get, getAllPresent, getIfPresent, invalidate, invalidateAll, invalidateAll, put, putAll, stats
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
cache
-
isWeighted
final boolean isWeighted -
policy
-
-
Constructor Details
-
BoundedLocalManualCache
-
BoundedLocalManualCache
-
-
Method Details
-
cache
Description copied from interface:LocalManualCache
Returns the backingLocalCache
data store.- Specified by:
cache
in interfaceLocalManualCache<BoundedLocalCache<K,
V>, K, V>
-
policy
Description copied from interface:Cache
Returns access to inspect and perform low-level operations on this cache based on its runtime characteristics. These operations are optional and dependent on how the cache was constructed and what abilities the implementation exposes. -
readObject
- Throws:
InvalidObjectException
-
writeReplace
Object writeReplace()
-