public enum RocketMQLogEnum extends Enum<RocketMQLogEnum>
| 枚举常量和说明 |
|---|
MQ_CONSUME_DIGEST |
MQ_CONSUME_STAT |
MQ_SEND_DIGEST |
MQ_SEND_STAT |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDefaultLogName() |
String |
getLogNameKey() |
String |
getRollingKey() |
static RocketMQLogEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RocketMQLogEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RocketMQLogEnum MQ_SEND_DIGEST
public static final RocketMQLogEnum MQ_SEND_STAT
public static final RocketMQLogEnum MQ_CONSUME_DIGEST
public static final RocketMQLogEnum MQ_CONSUME_STAT
public static RocketMQLogEnum[] values()
for (RocketMQLogEnum c : RocketMQLogEnum.values()) System.out.println(c);
public static RocketMQLogEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getLogNameKey()
public String getDefaultLogName()
public String getRollingKey()
Copyright © 2021. All rights reserved.