org.I0Itec.zkclient.serialize
Interface ZkSerializer
- All Known Implementing Classes:
- BytesPushThroughSerializer, SerializableSerializer
public interface ZkSerializer
Zookeeper is able to store data in form of byte arrays. This interfacte is a bridge between those byte-array format
and higher level objects.
- See Also:
BytesPushThroughSerializer,
SerializableSerializer
serialize
byte[] serialize(Object data)
throws ZkMarshallingError
- Throws:
ZkMarshallingError
deserialize
Object deserialize(byte[] bytes)
throws ZkMarshallingError
- Throws:
ZkMarshallingError
Copyright © 2011. All Rights Reserved.