struct redisCommand {
char *name;//命令名称
redisCommandProc *proc;//命令调用函数
int arity;//命令参数个数
int flags;//如果标记为REDIS_CMD_DENYOOM,NULL,内存满后此命令不可执行,主要针对写数据库的命令
/* Use a function to determine which keys need to be loaded
* in the background prior to executing this command. Takes precedence
* over vm_firstkey and others, ignored when NULL */
redisVmPreloadProc *vm_preload_proc;
/* What keys should be loaded in background when calling this command? */
int vm_firstkey; /* The first argument that's a key (0 = no keys) */
int vm_lastkey; /* THe last argument that's a key */
int vm_keystep; /* The step between first and last key */
};