com.taobao.metamorphosis.utils
类 ZkUtils.StringSerializer

java.lang.Object
  继承者 com.taobao.metamorphosis.utils.ZkUtils.StringSerializer
所有已实现的接口:
org.I0Itec.zkclient.serialize.ZkSerializer
包容类:
ZkUtils

public static class ZkUtils.StringSerializer
extends Object
implements org.I0Itec.zkclient.serialize.ZkSerializer


构造方法摘要
ZkUtils.StringSerializer()
           
 
方法摘要
 Object deserialize(byte[] bytes)
           
 byte[] serialize(Object data)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ZkUtils.StringSerializer

public ZkUtils.StringSerializer()
方法详细信息

deserialize

public Object deserialize(byte[] bytes)
                   throws org.I0Itec.zkclient.exception.ZkMarshallingError
指定者:
接口 org.I0Itec.zkclient.serialize.ZkSerializer 中的 deserialize
抛出:
org.I0Itec.zkclient.exception.ZkMarshallingError

serialize

public byte[] serialize(Object data)
                 throws org.I0Itec.zkclient.exception.ZkMarshallingError
指定者:
接口 org.I0Itec.zkclient.serialize.ZkSerializer 中的 serialize
抛出:
org.I0Itec.zkclient.exception.ZkMarshallingError


Copyright © 2010–2013. All rights reserved.