vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

RedisDatabase.setXX - multiple declarations

Function RedisDatabase.setXX

Set the value of a key, only if the key already exists

bool setXX(T) (
  string key,
  T value
)
if (isValidRedisValueType!T);

Function RedisDatabase.setXX

Set the value of a key, only if the key already exists, and also set the specified expire time using D notation, e.g. 5.minutes for 5 minutes.

bool setXX(T) (
  string key,
  T value,
  Duration expire_time
)
if (isValidRedisValueType!T);
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.