Searched refs:expire (Results 1 – 16 of 16) sorted by relevance
| /redis-3.2.3/tests/unit/ |
| H A D | expire.tcl | 4 set v1 [r expire x 5] 6 set v3 [r expire x 10] 8 r expire x 2 23 test {EXPIRE - write on expire should work} { 26 r expire x 1000 53 test {SETEX - Wait for the key to expire} { 66 r expire x 50 163 test {Redis should lazy expire keys} { 186 r expire foo 10 194 r expire a 5 [all …]
|
| H A D | keyspace.tcl | 139 r expire mykey 100 149 r expire mykey2 100 196 test {MOVE can move key expire metadata as well} { 209 test {MOVE does not create an expire if it does not exist} {
|
| H A D | other.tcl | 113 r expire x 1000 130 r expire x 1000
|
| H A D | dump.tcl | 9 test {RESTORE can set an arbitrary expire to the materialized key} { 19 test {RESTORE can set an expire that overflows a 32 bit integer} { 147 $first expire key 10
|
| H A D | multi.tcl | 218 r expire x 10 227 r expire x 1
|
| H A D | pubsub.tcl | 274 r expire foo 1 276 assert_equal {pmessage * __keyspace@9__:foo expire} [$rd1 read]
|
| /redis-3.2.3/src/ |
| H A D | t_string.c | 67 void setGenericCommand(client *c, int flags, robj *key, robj *val, robj *expire, int unit, robj *ok… in setGenericCommand() argument 70 if (expire) { in setGenericCommand() 71 if (getLongLongFromObjectOrReply(c, expire, &milliseconds, NULL) != C_OK) in setGenericCommand() 88 if (expire) setExpire(c->db,key,mstime()+milliseconds); in setGenericCommand() 90 if (expire) notifyKeyspaceEvent(NOTIFY_GENERIC, in setGenericCommand() 98 robj *expire = NULL; in setCommand() local 122 expire = next; in setCommand() 130 expire = next; in setCommand() 139 setGenericCommand(c,flags,c->argv[1],c->argv[2],expire,unit,NULL,NULL); in setCommand()
|
| H A D | db.c | 733 long long expire; in renameGenericCommand() local 749 expire = getExpire(c->db,c->argv[1]); in renameGenericCommand() 761 if (expire != -1) setExpire(c->db,c->argv[2],expire); in renameGenericCommand() 785 long long dbid, expire; in moveCommand() local 819 expire = getExpire(c->db,c->argv[1]); in moveCommand() 827 if (expire != -1) setExpire(dst,c->argv[1],expire); in moveCommand() 1006 long long expire, ttl = -1; in ttlGenericCommand() local 1015 expire = getExpire(c->db,c->argv[1]); in ttlGenericCommand() 1016 if (expire != -1) { in ttlGenericCommand() 1017 ttl = expire-mstime(); in ttlGenericCommand()
|
| H A D | rdb.c | 806 long long expire; in rdbSaveRio() local 809 expire = getExpire(db,&key); in rdbSaveRio() 810 if (rdbSaveKeyValuePair(rdb,&key,o,expire,now) == -1) goto werr; in rdbSaveRio()
|
| H A D | cluster.c | 1089 int64_t expire = dictGetUnsignedIntegerVal(de); in clusterBlacklistCleanup() local 1091 if (expire < server.unixtime) in clusterBlacklistCleanup()
|
| /redis-3.2.3/tests/integration/ |
| H A D | replication-3.tcl | 14 test {MASTER and SLAVE consistency with expire} {
|
| H A D | aof.tcl | 257 r expire x -1
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | string.tcl | 76 r expire x 10000 96 r expire x 1
|
| /redis-3.2.3/tests/support/ |
| H A D | util.tcl | 170 {*}$r expire [randomKey] [randomInt 2]
|
| H A D | cluster.tcl | 33 expire expireat pexpire pexpireat type ttl pttl persist restore
|
| /redis-3.2.3/ |
| H A D | 00-RELEASENOTES | 1673 the delay there is sometimes between the natural expire of the key
|