public class InspectingKryoSerializer extends KryoSerializer
Constructor and Description |
---|
InspectingKryoSerializer(org.apache.wicket.util.lang.Bytes size,
ISerializationListener serializingListener) |
Modifier and Type | Method and Description |
---|---|
protected com.esotericsoftware.kryo.Kryo |
createKryo()
Factory method for Kryo serializers.
|
byte[] |
serialize(Object object) |
protected ISerializationListener |
serializingListener() |
deserialize, getBuffer, getKryo, init
public InspectingKryoSerializer(org.apache.wicket.util.lang.Bytes size, ISerializationListener serializingListener)
size
- buffer size, write will fail if buffer is to smallserializingListener
- serialization listenerprotected com.esotericsoftware.kryo.Kryo createKryo()
KryoSerializer
createKryo
in class KryoSerializer
public byte[] serialize(Object object)
serialize
in interface org.apache.wicket.serialize.ISerializer
serialize
in class KryoSerializer
protected final ISerializationListener serializingListener()
Copyright © 2015. All rights reserved.