public enum ProtocolType extends Enum<ProtocolType>
AdvancedNetworkConfig
allows
configuration of multiple server sockets.
Note: names of this enum are used for stats sent to Management Center, do not rename.
NetworkConfig
,
AdvancedNetworkConfig
Enum Constant and Description |
---|
CLIENT |
MEMBER
Ordinals of this enum are used for IDS inside
EndpointQualifier . |
MEMCACHE |
REST |
WAN |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor() |
int |
getServerSocketCardinality() |
static ProtocolType |
valueOf(int ordinal) |
static ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Set<ProtocolType> |
valuesAsSet() |
public static final ProtocolType MEMBER
EndpointQualifier
.
Do not re-arrange, only append new values at end.public static final ProtocolType CLIENT
public static final ProtocolType WAN
public static final ProtocolType REST
public static final ProtocolType MEMCACHE
public static ProtocolType[] values()
for (ProtocolType c : ProtocolType.values()) System.out.println(c);
public static ProtocolType 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 static ProtocolType valueOf(int ordinal)
public static Set<ProtocolType> valuesAsSet()
public int getServerSocketCardinality()
public String getDescriptor()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.