public static enum NetworkAddressUtils.ServiceType extends Enum<NetworkAddressUtils.ServiceType>
Enum Constant and Description |
---|
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_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 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_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()
public PropertyKey getHostNameKey()
public PropertyKey getBindHostKey()
public PropertyKey getPortKey()
public int getDefaultPort()
Copyright © 2023. All Rights Reserved.