public class

ChainedPathZkSerializer

extends Object
implements PathBasedZkSerializer
java.lang.Object
   ↳ org.apache.helix.manager.zk.ChainedPathZkSerializer

Summary

Nested Classes
class ChainedPathZkSerializer.Builder  
Public Methods
static ChainedPathZkSerializer.Builder builder(ZkSerializer defaultSerializer)
Create a builder that will use the given serializer by default if no other strategy is given to solve the path in question.
Object deserialize(byte[] bytes, String path)
Deserialize data differently according to different paths@return
byte[] serialize(Object data, String path)
Serialize data differently according to different paths@return
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.manager.zk.PathBasedZkSerializer

Public Methods

public static ChainedPathZkSerializer.Builder builder (ZkSerializer defaultSerializer)

Create a builder that will use the given serializer by default if no other strategy is given to solve the path in question.

public Object deserialize (byte[] bytes, String path)

Deserialize data differently according to different paths@return

Throws
ZkMarshallingError

public byte[] serialize (Object data, String path)

Serialize data differently according to different paths@return

Throws
ZkMarshallingError