MEMCACHE的常用命令:SET ,GET,INCR,APPEND,DELETE,FLUSH_ALL,,GETS,CAS

SET ZHANG 0 0 3 ZHANG KEY 0 FLAG 0 EXPIRES 3 BYTE

GET ZHANG

INCR ZHANG 2

APPEND ZHANG 0 0 3

DELETE ZHANG

FLUSH_ALL

GETS ZHANG

CAS ZHANG 0 0 1   2 最后为版本号