Class ConcurrentLinkedHashMap.SerializationProxy<K,V>
- java.lang.Object
-
- com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.SerializationProxy<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ConcurrentLinkedHashMap<K,V>
static final class ConcurrentLinkedHashMap.SerializationProxy<K,V> extends java.lang.Object implements java.io.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
Fields Modifier and Type Field Description (package private) long
capacity
(package private) int
concurrencyLevel
(package private) java.util.Map<K,V>
data
(package private) EvictionListener<K,V>
listener
(package private) static long
serialVersionUID
(package private) EntryWeigher<? super K,? super V>
weigher
-
Constructor Summary
Constructors Constructor Description SerializationProxy(ConcurrentLinkedHashMap<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.Object
readResolve()
-
-
-
Field Detail
-
weigher
final EntryWeigher<? super K,? super V> weigher
-
listener
final EvictionListener<K,V> listener
-
concurrencyLevel
final int concurrencyLevel
-
capacity
final long capacity
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SerializationProxy
SerializationProxy(ConcurrentLinkedHashMap<K,V> map)
-
-