| Package | Description |
|---|---|
| org.apache.curator.x.discovery | |
| org.apache.curator.x.discovery.details |
| Modifier and Type | Method and Description |
|---|---|
ServiceDiscoveryBuilder<T> |
ServiceDiscoveryBuilder.serializer(InstanceSerializer<T> serializer)
optional - change the serializer used (the default is
JsonInstanceSerializer |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonInstanceSerializer<T>
A serializer that uses Jackson to serialize/deserialize as JSON.
|
| Constructor and Description |
|---|
ServiceDiscoveryImpl(org.apache.curator.framework.CuratorFramework client,
String basePath,
InstanceSerializer<T> serializer,
ServiceInstance<T> thisInstance,
boolean watchInstances) |
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.