Este contenido no está disponible en el idioma seleccionado.

11.7.4. Hot Rod GetWithVersion Operation


A Hot Rod GetWithVersion operation uses the following request format:
Expand
Table 11.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 11.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 11.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.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat