public class JsonObjectSerializer extends Object implements org.apache.curator.x.discovery.details.InstanceSerializer<JsonObject>
Constructor and Description |
---|
JsonObjectSerializer() |
Modifier and Type | Method and Description |
---|---|
org.apache.curator.x.discovery.ServiceInstance<JsonObject> |
deserialize(byte[] bytes) |
byte[] |
serialize(org.apache.curator.x.discovery.ServiceInstance<JsonObject> instance) |
public byte[] serialize(org.apache.curator.x.discovery.ServiceInstance<JsonObject> instance) throws Exception
serialize
in interface org.apache.curator.x.discovery.details.InstanceSerializer<JsonObject>
Exception
public org.apache.curator.x.discovery.ServiceInstance<JsonObject> deserialize(byte[] bytes) throws Exception
deserialize
in interface org.apache.curator.x.discovery.details.InstanceSerializer<JsonObject>
Exception
Copyright © 2023 Eclipse. All rights reserved.