cron part of disk store object cache implemented. Objects are pushed as IO jobs if needed, so that the IO thread will process them.

This commit is contained in:
antirez
2010-12-29 22:18:20 +01:00
parent cea8c5cd75
commit f63f0928c3
3 changed files with 65 additions and 5 deletions

View File

@ -800,6 +800,8 @@ int blockClientOnSwappedKeys(redisClient *c, struct redisCommand *cmd);
int dontWaitForSwappedKey(redisClient *c, robj *key);
void handleClientsBlockedOnSwappedKey(redisDb *db, robj *key);
int cacheFreeOneEntry(void);
void cacheScheduleForFlush(redisDb *db, robj *key);
void cacheCron(void);
/* Set data type */
robj *setTypeCreate(robj *value);