public class Version extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,String> |
VERSION_MAP
The constant VERSION_MAP.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkVersion(String version)
Check version string.
|
static String |
getChannelVersion(io.netty.channel.Channel c)
Gets channel version.
|
static String |
getCurrent() |
static void |
putChannelVersion(io.netty.channel.Channel c,
String v)
Put channel version.
|
public static String getCurrent()
public static void putChannelVersion(io.netty.channel.Channel c,
String v)
c - the cv - the vpublic static String getChannelVersion(io.netty.channel.Channel c)
c - the cpublic static void checkVersion(String version) throws IncompatibleVersionException
version - the versionIncompatibleVersionException - the incompatible version exceptionCopyright © 2020 Seata. All rights reserved.