backtype.storm.serialization
Class DefaultSerializationDelegate

java.lang.Object
  extended by backtype.storm.serialization.DefaultSerializationDelegate
All Implemented Interfaces:
SerializationDelegate

public class DefaultSerializationDelegate
extends Object
implements SerializationDelegate


Constructor Summary
DefaultSerializationDelegate()
           
 
Method Summary
 Object deserialize(byte[] bytes)
           
 void prepare(Map stormConf)
          Lifecycle step that will be called after instantiating with nullary constructor.
 byte[] serialize(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSerializationDelegate

public DefaultSerializationDelegate()
Method Detail

prepare

public void prepare(Map stormConf)
Description copied from interface: SerializationDelegate
Lifecycle step that will be called after instantiating with nullary constructor.

Specified by:
prepare in interface SerializationDelegate

serialize

public byte[] serialize(Object object)
Specified by:
serialize in interface SerializationDelegate

deserialize

public Object deserialize(byte[] bytes)
Specified by:
deserialize in interface SerializationDelegate


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