Class ConcurrentLinkedHashMap.SerializationProxy<K,V>
java.lang.Object
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.SerializationProxy<K,V>
- All Implemented Interfaces:
Serializable
- Enclosing class:
ConcurrentLinkedHashMap<K,
V>
static final class ConcurrentLinkedHashMap.SerializationProxy<K,V>
extends Object
implements Serializable
A proxy that is serialized instead of the map. The page-replacement
algorithm's data structures are not serialized so the deserialized
instance contains only the entries. This is acceptable as caches hold
transient data that is recomputable and serialization would tend to be
used as a fast warm-up process.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long
(package private) final int
(package private) final EvictionListener
<K, V> (package private) static final long
(package private) final EntryWeigher
<? super K, ? super V> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
weigher
-
listener
-
concurrencyLevel
final int concurrencyLevel -
data
-
capacity
final long capacity -
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SerializationProxy
SerializationProxy(ConcurrentLinkedHashMap<K, V> map)
-
-
Method Details
-
readResolve
Object readResolve()
-