public final class Constants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_DEFAULT_NAME |
static String |
CPU_USAGE_RESOURCE_NAME
A virtual resource identifier for cpu usage statistics (since 1.6.1).
|
static ClusterNode |
ENTRY_NODE
Global statistic node for inbound traffic.
|
static int |
MAX_CONTEXT_NAME_SIZE |
static int |
MAX_SLOT_CHAIN_SIZE |
static boolean |
ON
The global switch for Sentinel.
|
static int |
ORDER_AUTHORITY_SLOT |
static int |
ORDER_CLUSTER_BUILDER_SLOT |
static int |
ORDER_DEGRADE_SLOT |
static int |
ORDER_FLOW_SLOT |
static int |
ORDER_LOG_SLOT |
static int |
ORDER_NODE_SELECTOR_SLOT
Order of default processor slots
|
static int |
ORDER_STATISTIC_SLOT |
static int |
ORDER_SYSTEM_SLOT |
static DefaultNode |
ROOT
Global ROOT statistic node that represents the universal parent node.
|
static String |
ROOT_ID |
static String |
SENTINEL_VERSION |
static String |
SYSTEM_LOAD_RESOURCE_NAME
A virtual resource identifier for system load statistics (since 1.6.1).
|
static String |
TOTAL_IN_RESOURCE_NAME
A virtual resource identifier for total inbound statistics (since 1.5.0).
|
public static final String SENTINEL_VERSION
public static final int MAX_CONTEXT_NAME_SIZE
public static final int MAX_SLOT_CHAIN_SIZE
public static final String ROOT_ID
public static final String CONTEXT_DEFAULT_NAME
public static final String TOTAL_IN_RESOURCE_NAME
public static final String CPU_USAGE_RESOURCE_NAME
public static final String SYSTEM_LOAD_RESOURCE_NAME
public static final DefaultNode ROOT
public static final ClusterNode ENTRY_NODE
SystemRule checking.public static volatile boolean ON
public static final int ORDER_NODE_SELECTOR_SLOT
public static final int ORDER_CLUSTER_BUILDER_SLOT
public static final int ORDER_LOG_SLOT
public static final int ORDER_STATISTIC_SLOT
public static final int ORDER_AUTHORITY_SLOT
public static final int ORDER_SYSTEM_SLOT
public static final int ORDER_FLOW_SLOT
public static final int ORDER_DEGRADE_SLOT
Copyright © 2021 Alibaba Group. All rights reserved.