Enum Class的使用
com.alibaba.csp.sentinel.transport.endpoint.Protocol
使用Protocol的程序包
-
com.alibaba.csp.sentinel.transport.endpoint中Protocol的使用
修饰符和类型方法说明Endpoint.getProtocol()static ProtocolReturns the enum constant of this class with the specified name.static Protocol[]Protocol.values()Returns an array containing the constants of this enum class, in the order they are declared.