org.springframework.data.redis.connection.srp
Class SrpScriptReturnConverter

java.lang.Object
  extended by 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


Constructor Summary
SrpScriptReturnConverter(ReturnType returnType)
           
 
Method Summary
 Object convert(Object source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrpScriptReturnConverter

public SrpScriptReturnConverter(ReturnType returnType)
Method Detail

convert

public Object convert(Object source)
Specified by:
convert in interface Converter<Object,Object>