| Package | Description |
|---|---|
| org.apache.curator.x.discovery |
| Modifier and Type | Method | Description |
|---|---|---|
ServiceType |
ServiceInstance.getServiceType() |
|
static ServiceType |
ServiceType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
ServiceType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
ServiceInstanceBuilder<T> |
ServiceInstanceBuilder.serviceType(ServiceType serviceType) |
| Constructor | Description |
|---|---|
ServiceInstance(java.lang.String name,
java.lang.String id,
java.lang.String address,
java.lang.Integer port,
java.lang.Integer sslPort,
T payload,
long registrationTimeUTC,
ServiceType serviceType,
UriSpec uriSpec) |
|
ServiceInstance(java.lang.String name,
java.lang.String id,
java.lang.String address,
java.lang.Integer port,
java.lang.Integer sslPort,
T payload,
long registrationTimeUTC,
ServiceType serviceType,
UriSpec uriSpec,
boolean enabled) |
IMPORTANT: Due to CURATOR-275 the
enabled field is NOT supported
by default. |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.