private Optional<IcicleRedisResponse> executeLuaScript(final Redis redis,final long batchSize){
  List<String> args=Arrays.asList(String.valueOf(MAX_SEQUENCE),String.valueOf(MIN_LOGICAL_SHARD_ID),String.valueOf(MAX_LOGICAL_SHARD_ID),String.valueOf(batchSize));
  return redis.evalLuaScript(luaScriptSha,args);
}

private Optional < IcicleRedisResponse > executeLuaScript ( final Redis redis , final long batchSize ) { List < String > args = Arrays . asList ( String . valueOf ( MAX_SEQUENCE ) , String . valueOf ( MIN_LOGICAL_SHARD_ID ) , String . valueOf ( MAX_LOGICAL_SHARD_ID ) , String . valueOf ( batchSize ) ) ; return redis . evalLuaScript ( luaScriptSha , args ) ; }
execute the id generation lua script on the given redis instance , returning the results .
