public interface TransformerConverts objects (cache keys only) to and from their Java types to String representations so that Infinispan can index them. You need to convert custom types only. Infinispan transforms boxed primitives, java.lang.String, java.util.UUID, and byte arrays internally.
Implementations must be thread-safe! It is recommended they are also stateless.
- Manik Surtani
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
fromString(String str)Transforms a String into an Object.
toString(Object obj)Transforms an Object into a String.
Object fromString(String str)Transforms a String into an Object.
str- cannot be null
- the Object that is encoded in the given String