Top Description Fields Constructors Methods
com.github.benmanes.caffeine.cache

pack-priv final Class SerializationProxy<K, V>

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial
Static Imports
com.github.benmanes.caffeine.cache.Caffeine.UNSET_INT

Serializes the configuration of the cache, reconstituting it as a Cache, LoadingCache, AsyncCache, or AsyncLoadingCache using Caffeine upon deserialization. The data held by the cache is not retained.
Author
[email protected] (Ben Manes)

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv @Nullable AsyncCacheLoader<?, ?>
pack-priv @Nullable RemovalListener<?, ?>
pack-priv long
pack-priv long
pack-priv @Nullable Expiry<?, ?>
pack-priv boolean
pack-priv long
pack-priv long
pack-priv long
pack-priv @Nullable RemovalListener<?, ?>
private static final long
pack-priv boolean
pack-priv @Nullable Ticker
pack-priv boolean
pack-priv boolean
pack-priv @Nullable Weigher<?, ?>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv Object
pack-priv Caffeine<Object, Object>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

asyncback to summary
pack-priv boolean async
cacheLoaderback to summary
pack-priv @Nullable AsyncCacheLoader<?, ?> cacheLoader
evictionListenerback to summary
pack-priv @Nullable RemovalListener<?, ?> evictionListener
expiresAfterAccessNanosback to summary
pack-priv long expiresAfterAccessNanos
expiresAfterWriteNanosback to summary
pack-priv long expiresAfterWriteNanos
expiryback to summary
pack-priv @Nullable Expiry<?, ?> expiry
isRecordingStatsback to summary
pack-priv boolean isRecordingStats
maximumSizeback to summary
pack-priv long maximumSize
maximumWeightback to summary
pack-priv long maximumWeight
refreshAfterWriteNanosback to summary
pack-priv long refreshAfterWriteNanos
removalListenerback to summary
pack-priv @Nullable RemovalListener<?, ?> removalListener
serialVersionUIDback to summary
private static final long serialVersionUID
softValuesback to summary
pack-priv boolean softValues
tickerback to summary
pack-priv @Nullable Ticker ticker
weakKeysback to summary
pack-priv boolean weakKeys
weakValuesback to summary
pack-priv boolean weakValues
weigherback to summary
pack-priv @Nullable Weigher<?, ?> weigher

Constructor Detail

SerializationProxyback to summary
pack-priv SerializationProxy()

Method Detail

readResolveback to summary
pack-priv Object readResolve()
recreateCaffeineback to summary
pack-priv Caffeine<Object, Object> recreateCaffeine()