vibe.d beta banner
get vibe.d
0.7.30

RedisDatabase.expire - multiple declarations

  • Function RedisDatabase.expire
  • Function RedisDatabase.expire

Function RedisDatabase.expire

Set a key's time to live in seconds

Prototype

bool expire(
  string key,
  long seconds
);

Function RedisDatabase.expire

Set a key's time to live with D notation. E.g. 5.minutes for 60 * 5 seconds.

Prototype

bool expire(
  string key,
  core.time.Duration timeout
);
Authors

Jan Krüger, Sönke Ludwig, Michael Eisendle, Etienne Cimon

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.