Send feedback
google.appengine.api.memcache.ItemWithTimestamps
Stay organized with collections
Save and categorize content based on your preferences.
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
)
Args
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
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
View source
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
View source
get_last_access_time_sec ()
Returns the last accessed timestamp of the item in unix epoch seconds.
get_value
View source
get_value ()
Returns the value of the item.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[],[]]