Package org.apache.storm.serialization
Class DefaultKryoFactory
- java.lang.Object
-
- org.apache.storm.serialization.DefaultKryoFactory
-
- All Implemented Interfaces:
IKryoFactory
public class DefaultKryoFactory extends Object implements IKryoFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultKryoFactory.KryoSerializableDefault
-
Constructor Summary
Constructors Constructor Description DefaultKryoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.esotericsoftware.kryo.KryogetKryo(Map<String,Object> conf)voidpostDecorate(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)voidpostRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)voidpreRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
-
-
-
Method Detail
-
getKryo
public com.esotericsoftware.kryo.Kryo getKryo(Map<String,Object> conf)
- Specified by:
getKryoin interfaceIKryoFactory
-
preRegister
public void preRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)- Specified by:
preRegisterin interfaceIKryoFactory
-
postRegister
public void postRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)- Specified by:
postRegisterin interfaceIKryoFactory
-
postDecorate
public void postDecorate(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)- Specified by:
postDecoratein interfaceIKryoFactory
-
-