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 class
DefaultKryoFactory.KryoSerializableDefault
-
Constructor Summary
Constructors Constructor Description DefaultKryoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.esotericsoftware.kryo.Kryo
getKryo(Map<String,Object> conf)
void
postDecorate(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
void
postRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
void
preRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
-
-
-
Method Detail
-
getKryo
public com.esotericsoftware.kryo.Kryo getKryo(Map<String,Object> conf)
- Specified by:
getKryo
in interfaceIKryoFactory
-
preRegister
public void preRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
- Specified by:
preRegister
in interfaceIKryoFactory
-
postRegister
public void postRegister(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
- Specified by:
postRegister
in interfaceIKryoFactory
-
postDecorate
public void postDecorate(com.esotericsoftware.kryo.Kryo k, Map<String,Object> conf)
- Specified by:
postDecorate
in interfaceIKryoFactory
-
-