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) Deprecated, for removal: This API element is subject to removal in a future version.void
initialize
(RemoteCacheManager remoteCacheManager, String cacheName) 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) <T> T
keyToObject
(InputStream inputStream, ClassAllowList allowList) void
keyToStream
(Object key, OutputStream stream) 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) <T> T
valueToObj
(InputStream inputStream, ClassAllowList allowList) void
valueToStream
(Object value, OutputStream stream)
-
Method Details
-
withoutValueType
-
getKeyType
-
getValueType
-
getDefaultMarshaller
-
initialize
@Deprecated(forRemoval=true, since="12.0") public void initialize(RemoteCacheManager remoteCacheManager) Deprecated, for removal: This API element is subject to removal in a future version.Replaced byinitialize(RemoteCacheManager, String)
. -
initialize
-
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
-
keyToStream
-
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
-
valueToStream
-
keyToObj
-
keyToObject
-
valueToObj
-
valueToObj
-
server
-
client
-
toString
-
builder
-
initialize(RemoteCacheManager, String)
.