View source on GitHub |
A Memcache item with its relevant timestamps.
Inherits From: expected_type
google.appengine.api.memcache.ItemWithTimestamps(
value, expiration_time_sec, last_access_time_sec, delete_lock_time_sec=0
)
Methods
get_delete_lock_time_sec
get_delete_lock_time_sec()
Returns the absolute delete_time timestamp in unix epoch seconds.
It is set to 0 if this item is not delete locked.
get_expiration_time_sec
get_expiration_time_sec()
Returns the absolute expiration timestamp in unix epoch seconds.
It is set to 0 if this item has no expiration timestamp.
get_last_access_time_sec
get_last_access_time_sec()
Returns the last accessed timestamp of the item in unix epoch seconds.
get_value
get_value()
Returns the value of the item.