public enum RpcTracerLogEnum extends Enum<RpcTracerLogEnum>
| 枚举常量和说明 |
|---|
RPC_2_JVM_DIGEST |
RPC_2_JVM_STAT |
RPC_CLIENT_DIGEST |
RPC_CLIENT_STAT |
RPC_SERVER_DIGEST |
RPC_SERVER_STAT |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDefaultLogName() |
String |
getLogReverseKey() |
String |
getRollingKey() |
static RpcTracerLogEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RpcTracerLogEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RpcTracerLogEnum RPC_CLIENT_DIGEST
public static final RpcTracerLogEnum RPC_SERVER_DIGEST
public static final RpcTracerLogEnum RPC_CLIENT_STAT
public static final RpcTracerLogEnum RPC_SERVER_STAT
public static final RpcTracerLogEnum RPC_2_JVM_DIGEST
public static final RpcTracerLogEnum RPC_2_JVM_STAT
public static RpcTracerLogEnum[] values()
for (RpcTracerLogEnum c : RpcTracerLogEnum.values()) System.out.println(c);
public static RpcTracerLogEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getLogReverseKey()
public String getDefaultLogName()
public String getRollingKey()
Copyright © 2008–2018 The Ant Financial. All rights reserved.