Gets an item from memcache along with its timestamp metadata.
google.appengine.api.memcache.peek(
key, namespace=None
)
Peeking at items will update stats, but will not alter the eviction order
of the item. Unlike get(), an item is fetched even if it is delete locked.
Args |
key
|
The key in memcache to look up. See docs on Client for details of
format.
|
namespace
|
a string specifying an optional namespace to use in the
request.
|
Returns |
An ItemWithTimestamps object which contains the value of the item along
with timestamp metadata - expiration timestamp, last access timestamp and
delete timestamp (if the item is delete locked).
|