public static void checkDuplicateRequest(RedisClient redisClient,String uri,Buffer buffer,String ttl,Handler<Boolean> callback){
  Integer timeToLive=parseTimeToLive(ttl);
  String redisKey=getRedisKey(uri,HashCodeGenerator.createHashCode(uri,buffer.toString()));
  handleStorage(redisClient,redisKey,timeToLive,callback);
}

public static void checkDuplicateRequest ( RedisClient redisClient , String uri , Buffer buffer , String ttl , Handler < Boolean > callback ) { Integer timeToLive = parseTimeToLive ( ttl ) ; String redisKey = getRedisKey ( uri , HashCodeGenerator . createHashCode ( uri , buffer . toString ( ) ) ) ; handleStorage ( redisClient , redisKey , timeToLive , callback ) ; }
this method checks if an entry for the provided information ( uri and buffer ) is stored in the redis database . when no entry was found in the database , a new entry will be saved to the database using a key which is created from the given parameters ( uri and buffer ) . the new entry expires after ttl has expired .
