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