public static enum NetworkAddressUtils.ServiceType extends Enum<NetworkAddressUtils.ServiceType> implements NetworkAddressUtils.ServiceAttributeProvider
Enum Constant and Description |
---|
FUSE_WEB
FUSE web service (Jetty).
|
JOB_MASTER_RAFT
Job master Raft service (Netty).
|
JOB_MASTER_RPC
Job master RPC service (gRPC).
|
JOB_MASTER_WEB
Job master web service (Jetty).
|
JOB_WORKER_RPC
Job worker RPC service (gRPC).
|
JOB_WORKER_WEB
Job master web service (Jetty).
|
MASTER_RAFT
Master Raft service (Netty).
|
MASTER_RPC
Master RPC service (gRPC).
|
MASTER_WEB
Master web service (Jetty).
|
PROXY_WEB
Proxy web service (Jetty).
|
WORKER_DATA
Worker data service (Netty).
|
WORKER_REST
Worker s3 service (Netty).
|
WORKER_RPC
Worker RPC service (gRPC).
|
WORKER_WEB
Worker web service (Jetty).
|
Modifier and Type | Method and Description |
---|---|
PropertyKey |
getBindHostKey()
Gets the key of bind hostname.
|
int |
getDefaultPort()
Gets the default port number on service.
|
PropertyKey |
getHostNameKey()
Gets the key of connect hostname.
|
PropertyKey |
getPortKey()
Gets the key of service port.
|
String |
getServiceName()
Gets service name.
|
static NetworkAddressUtils.ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAddressUtils.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAddressUtils.ServiceType FUSE_WEB
public static final NetworkAddressUtils.ServiceType JOB_MASTER_RAFT
public static final NetworkAddressUtils.ServiceType MASTER_RAFT
public static final NetworkAddressUtils.ServiceType JOB_MASTER_RPC
public static final NetworkAddressUtils.ServiceType JOB_MASTER_WEB
public static final NetworkAddressUtils.ServiceType JOB_WORKER_RPC
public static final NetworkAddressUtils.ServiceType JOB_WORKER_WEB
public static final NetworkAddressUtils.ServiceType MASTER_RPC
public static final NetworkAddressUtils.ServiceType MASTER_WEB
public static final NetworkAddressUtils.ServiceType WORKER_RPC
public static final NetworkAddressUtils.ServiceType WORKER_DATA
public static final NetworkAddressUtils.ServiceType WORKER_REST
public static final NetworkAddressUtils.ServiceType WORKER_WEB
public static final NetworkAddressUtils.ServiceType PROXY_WEB
public static NetworkAddressUtils.ServiceType[] values()
for (NetworkAddressUtils.ServiceType c : NetworkAddressUtils.ServiceType.values()) System.out.println(c);
public static NetworkAddressUtils.ServiceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getServiceName()
getServiceName
in interface NetworkAddressUtils.ServiceAttributeProvider
public PropertyKey getHostNameKey()
getHostNameKey
in interface NetworkAddressUtils.ServiceAttributeProvider
public PropertyKey getBindHostKey()
getBindHostKey
in interface NetworkAddressUtils.ServiceAttributeProvider
public PropertyKey getPortKey()
getPortKey
in interface NetworkAddressUtils.ServiceAttributeProvider
public int getDefaultPort()
getDefaultPort
in interface NetworkAddressUtils.ServiceAttributeProvider
Copyright © 2023. All Rights Reserved.