title: In redis, how do I delete one key and get its value at the same time
body: <p>
  In redis, how do I delete one key and get its value at the same time,  and, most import, it is executed in one command so it is thread safe. 
  </p>