Class SerializationProxy<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.SerializationProxy<K,V>
- All Implemented Interfaces:
Serializable
Serializes the configuration of the cache, reconsitituting it as a
Cache
,
LoadingCache
, or AsyncLoadingCache
using Caffeine
upon
deserialization. The data held by the cache is not retained.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) long
(package private) long
(package private) @Nullable Expiry
<?, ?> (package private) boolean
(package private) @Nullable AsyncCacheLoader
<?, ?> (package private) long
(package private) long
(package private) long
(package private) @Nullable RemovalListener
<?, ?> private static final long
(package private) boolean
(package private) @Nullable Ticker
(package private) boolean
(package private) boolean
(package private) @Nullable Weigher
<?, ?> (package private) @Nullable CacheWriter
<?, ?> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
async
boolean async -
weakKeys
boolean weakKeys -
weakValues
boolean weakValues -
softValues
boolean softValues -
isRecordingStats
boolean isRecordingStats -
refreshAfterWriteNanos
long refreshAfterWriteNanos -
expiresAfterWriteNanos
long expiresAfterWriteNanos -
expiresAfterAccessNanos
long expiresAfterAccessNanos -
maximumSize
long maximumSize -
maximumWeight
long maximumWeight -
ticker
@Nullable Ticker ticker -
expiry
@Nullable Expiry<?,?> expiry -
weigher
@Nullable Weigher<?,?> weigher -
writer
@Nullable CacheWriter<?,?> writer -
loader
@Nullable AsyncCacheLoader<?,?> loader -
removalListener
@Nullable RemovalListener<?,?> removalListener
-
-
Constructor Details
-
SerializationProxy
SerializationProxy()
-
-
Method Details
-
recreateCaffeine
-
readResolve
Object readResolve()
-