此内容没有您所选择的语言版本。

10.6.4. Hot Rod GetWithVersion Operation


A Hot Rod GetWithVersion operation uses the following request format:
Expand
Table 10.12. GetWithVersion Operation Request Format
Field Data Type Details
Header - -
Key Length vInt Contains the length of the key. The vInt data type is used because of its size (up to 6 bytes), which is larger than the size of Integer.MAX_VALUE. However, Java disallows single array sizes to exceed the size of Integer.MAX_VALUE. As a result, this vInt is also limited to the maximum size of Integer.MAX_VALUE.
Key Byte array Contains a key, the corresponding value of which is requested.
The response header for this operation contains one of the following response statuses:
Expand
Table 10.13. GetWithVersion Operation Response Format
Response Status Details
0x00 Successful operation.
0x02 The key does not exist.
The response for this operation contains the following:
Expand
Table 10.14. 
Field Data Type/Size Details
Entry Version 8 bytes Contains the unique value of an existing entry's modification.
Value Length vInt Contains the length of the value.
Value Byte array Contains the requested value.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat