google.appengine.api.memcache.ItemWithTimestamps

A Memcache item with its relevant timestamps.

Inherits From: expected_type

value The Memcache item. Set to "" if the item is delete locked.
expiration_time_sec The absolute expiration timestamp of the item in unix epoch seconds. Set to 0 if no expiration time is set.
last_access_time_sec The absolute last accessed timestamp of the item in unix epoch seconds.
delete_lock_time_sec Absolute delete_time timestamp of the item in unix epoch seconds. Set to 0 if this item is not delete locked.

Methods

get_delete_lock_time_sec

View source

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

View source

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

View source

Returns the last accessed timestamp of the item in unix epoch seconds.

get_value

View source

Returns the value of the item.