Package | Description |
---|---|
org.apache.curator.x.discovery |
Modifier and Type | Method and Description |
---|---|
ServiceType |
ServiceInstance.getServiceType() |
static ServiceType |
ServiceType.valueOf(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 and Description |
---|---|
ServiceInstanceBuilder<T> |
ServiceInstanceBuilder.serviceType(ServiceType serviceType) |
Constructor and Description |
---|
ServiceInstance(String name,
String id,
String address,
Integer port,
Integer sslPort,
T payload,
long registrationTimeUTC,
ServiceType serviceType,
UriSpec uriSpec) |
ServiceInstance(String name,
String id,
String address,
Integer port,
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–2023 The Apache Software Foundation. All rights reserved.