org.springframework.data.redis.connection.srp
Class SrpScriptReturnConverter
java.lang.Object
org.springframework.data.redis.connection.srp.SrpScriptReturnConverter
- All Implemented Interfaces:
- Converter<Object,Object>
public class SrpScriptReturnConverter
- extends Object
- implements Converter<Object,Object>
Converts the value returned by SRP script eval to the expected ReturnType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SrpScriptReturnConverter
public SrpScriptReturnConverter(ReturnType returnType)
convert
public Object convert(Object source)
- Specified by:
convert
in interface Converter<Object,Object>