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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DataFormat.Builder
builder()
org.infinispan.commons.dataconversion.MediaType
org.infinispan.commons.dataconversion.MediaType
void
initialize
(RemoteCacheManager remoteCacheManager, boolean serverObjectStorage) Deprecated.void
initialize
(RemoteCacheManager remoteCacheManager, String cacheName, boolean serverObjectStorage) boolean
byte[]
keyToBytes
(Object key) byte[]
keyToBytes
(Object key, int estimateKeySize, int estimateValueSize) Deprecated.Since 12.0, will be removed in 15.0<T> T
keyToObj
(byte[] bytes, ClassAllowList allowList) toString()
byte[]
valueToBytes
(Object value) byte[]
valueToBytes
(Object value, int estimateKeySize, int estimateValueSize) Deprecated.Since 12.0, will be removed in 15.0<T> T
valueToObj
(byte[] bytes, ClassAllowList allowList)
-
Method Details
-
withoutValueType
-
getKeyType
public org.infinispan.commons.dataconversion.MediaType getKeyType() -
getValueType
public org.infinispan.commons.dataconversion.MediaType getValueType() -
initialize
@Deprecated public void initialize(RemoteCacheManager remoteCacheManager, boolean serverObjectStorage) Deprecated.Replaced byinitialize(RemoteCacheManager, String, boolean)
. -
initialize
public void initialize(RemoteCacheManager remoteCacheManager, String cacheName, boolean serverObjectStorage) -
isObjectStorage
public boolean isObjectStorage() -
keyToBytes
Deprecated.Since 12.0, will be removed in 15.0 -
keyToBytes
-
valueToBytes
Deprecated.Since 12.0, will be removed in 15.0 -
valueToBytes
-
keyToObj
-
valueToObj
-
toString
-
builder
-
initialize(RemoteCacheManager, String, boolean)
.