Function RedisDatabase.ttl

Get the time to live for a key

Prototype

long ttl(
  string key
);

Authors

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

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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