Note: Since the SET command options can replace SETNX, SETEX, PSETEX, it is possible that in future versions of Redis these three commands will be deprecated and finally removed.

2.6.12 已经是7个月前的版本了，不过做下兼容应该也没错。。