Package org.infinispan.client.hotrod
Class DataFormat
java.lang.Object
org.infinispan.client.hotrod.DataFormat
Defines data format for keys and values during Hot Rod client requests.
- Since:
- 9.3
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataFormat.Builder
builder()
client()
void
initialize
(RemoteCacheManager remoteCacheManager, boolean serverObjectStorage) Deprecated, for removal: This API element is subject to removal in a future version.void
initialize
(RemoteCacheManager remoteCacheManager, String cacheName, boolean serverObjectStorage) boolean
byte[]
keyToBytes
(Object key) byte[]
keyToBytes
(Object key, int estimateKeySize, int estimateValueSize) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, will be removed in 15.0<T> T
keyToObj
(byte[] bytes, ClassAllowList allowList) server()
toString()
byte[]
valueToBytes
(Object value) byte[]
valueToBytes
(Object value, int estimateKeySize, int estimateValueSize) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, will be removed in 15.0<T> T
valueToObj
(byte[] bytes, ClassAllowList allowList)
-
Method Details
-
withoutValueType
-
getKeyType
-
getValueType
-
initialize
@Deprecated(forRemoval=true, since="12.0") public void initialize(RemoteCacheManager remoteCacheManager, boolean serverObjectStorage) Deprecated, for removal: This API element is subject to removal in a future version.Replaced byinitialize(RemoteCacheManager, String, boolean)
. -
initialize
public void initialize(RemoteCacheManager remoteCacheManager, String cacheName, boolean serverObjectStorage) -
isObjectStorage
public boolean isObjectStorage() -
keyToBytes
@Deprecated(forRemoval=true, since="12.0") public byte[] keyToBytes(Object key, int estimateKeySize, int estimateValueSize) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, will be removed in 15.0 -
keyToBytes
-
valueToBytes
@Deprecated(forRemoval=true, since="12.0") public byte[] valueToBytes(Object value, int estimateKeySize, int estimateValueSize) Deprecated, for removal: This API element is subject to removal in a future version.Since 12.0, will be removed in 15.0 -
valueToBytes
-
keyToObj
-
valueToObj
-
server
-
client
-
toString
-
builder
-
initialize(RemoteCacheManager, String, boolean)
.