public static enum Info.Server.Key extends Enum<Info.Server.Key>
枚举常量和说明 |
---|
ARCH |
ATOMICVAR_API |
BUILD_ID |
CONFIG_FILE |
CONFIGURED_HZ |
EXECUTABLE |
GCC_VESION |
GIT_DIRTY |
GIT_SHA1 |
HZ |
LRU_CLOCK |
MODE |
MULTIPLEXING_API |
OS |
PORT |
PROCESS_ID |
RUN_ID |
UPTIME |
VERSION |
限定符和类型 | 方法和说明 |
---|---|
String |
getValue() |
static Info.Server.Key |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Info.Server.Key[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Info.Server.Key ARCH
public static final Info.Server.Key ATOMICVAR_API
public static final Info.Server.Key BUILD_ID
public static final Info.Server.Key CONFIGURED_HZ
public static final Info.Server.Key CONFIG_FILE
public static final Info.Server.Key EXECUTABLE
public static final Info.Server.Key GCC_VESION
public static final Info.Server.Key GIT_DIRTY
public static final Info.Server.Key GIT_SHA1
public static final Info.Server.Key HZ
public static final Info.Server.Key LRU_CLOCK
public static final Info.Server.Key MODE
public static final Info.Server.Key MULTIPLEXING_API
public static final Info.Server.Key OS
public static final Info.Server.Key PORT
public static final Info.Server.Key PROCESS_ID
public static final Info.Server.Key RUN_ID
public static final Info.Server.Key UPTIME
public static final Info.Server.Key VERSION
public static Info.Server.Key[] values()
for (Info.Server.Key c : Info.Server.Key.values()) System.out.println(c);
public static Info.Server.Key valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String getValue()
Copyright © 2022 buession.com Inc.. All rights reserved.