public class CopyForIterateMapSerializer
extends com.esotericsoftware.kryo.serialize.MapSerializer
Serializer that creates a copy of the source map for writing object data.
This is useful for applications where objects/maps that are serialized might be accessed by different threads. However, it only reduces the probability of concurrent modification exceptions, as even during taking the copy the map might be modified by another thread.
| Constructor and Description |
|---|
CopyForIterateMapSerializer(com.esotericsoftware.kryo.Kryo kryo) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeObjectData(ByteBuffer buffer,
Object object) |
readObjectData, setKeyClass, setKeyClass, setKeysCanBeNull, setValueClass, setValueClass, setValuesCanBeNullpublic CopyForIterateMapSerializer(com.esotericsoftware.kryo.Kryo kryo)
public void writeObjectData(ByteBuffer buffer, Object object)
writeObjectData in class com.esotericsoftware.kryo.serialize.MapSerializerCopyright © 2010-2012. All Rights Reserved.