public enum RestEndpointGroup extends Enum<RestEndpointGroup>
isEnabledByDefault()
) which controls if it will be included by default in RestApiConfig
configuration.RestApiConfig
Enum Constant and Description |
---|
CLUSTER_READ
Group of operations for retrieving cluster state and its version.
|
CLUSTER_WRITE
Operations which changes cluster or node state or their configurations.
|
CP
Groups of HTTP REST APIs for CP subsystem interaction
|
DATA
Group of HTTP REST APIs for data manipulation in the cluster (e.g.
|
HEALTH_CHECK
Group of endpoints for HTTP health checking.
|
HOT_RESTART
Deprecated.
since 5.0
Please use
PERSISTENCE instead.
If this deprecated endpoint group is tried to be activated, we apply this
change as it's made to RestEndpointGroup#PERSISTENCE. |
PERSISTENCE
Group of HTTP REST APIs related to Persistence feature.
|
WAN
Group of HTTP REST APIs related to WAN Replication feature.
|
Modifier and Type | Method and Description |
---|---|
static Collection<RestEndpointGroup> |
getAllEndpointGroups() |
int |
getCode() |
static RestEndpointGroup |
getRestEndpointGroup(int code) |
boolean |
isEnabledByDefault()
Returns if this group is enabled by default.
|
static RestEndpointGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestEndpointGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestEndpointGroup CLUSTER_READ
public static final RestEndpointGroup CLUSTER_WRITE
public static final RestEndpointGroup HEALTH_CHECK
public static final RestEndpointGroup PERSISTENCE
@Deprecated public static final RestEndpointGroup HOT_RESTART
PERSISTENCE
instead.
If this deprecated endpoint group is tried to be activated, we apply this
change as it's made to RestEndpointGroup#PERSISTENCE.public static final RestEndpointGroup WAN
public static final RestEndpointGroup DATA
public static final RestEndpointGroup CP
public static RestEndpointGroup[] values()
for (RestEndpointGroup c : RestEndpointGroup.values()) System.out.println(c);
public static RestEndpointGroup 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 Collection<RestEndpointGroup> getAllEndpointGroups()
public boolean isEnabledByDefault()
public int getCode()
public static RestEndpointGroup getRestEndpointGroup(int code)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.