backtype.storm.serialization
Class DefaultKryoFactory

java.lang.Object
  extended by backtype.storm.serialization.DefaultKryoFactory
All Implemented Interfaces:
IKryoFactory

public class DefaultKryoFactory
extends Object
implements IKryoFactory


Nested Class Summary
static class DefaultKryoFactory.KryoSerializableDefault
           
 
Constructor Summary
DefaultKryoFactory()
           
 
Method Summary
 com.esotericsoftware.kryo.Kryo getKryo(Map conf)
           
 void postDecorate(com.esotericsoftware.kryo.Kryo k, Map conf)
           
 void postRegister(com.esotericsoftware.kryo.Kryo k, Map conf)
           
 void preRegister(com.esotericsoftware.kryo.Kryo k, Map conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKryoFactory

public DefaultKryoFactory()
Method Detail

getKryo

public com.esotericsoftware.kryo.Kryo getKryo(Map conf)
Specified by:
getKryo in interface IKryoFactory

preRegister

public void preRegister(com.esotericsoftware.kryo.Kryo k,
                        Map conf)
Specified by:
preRegister in interface IKryoFactory

postRegister

public void postRegister(com.esotericsoftware.kryo.Kryo k,
                         Map conf)
Specified by:
postRegister in interface IKryoFactory

postDecorate

public void postDecorate(com.esotericsoftware.kryo.Kryo k,
                         Map conf)
Specified by:
postDecorate in interface IKryoFactory


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.