class documentation
class Cache(object):
Known subclasses: googleapiclient.discovery_cache.appengine_memcache.Cache, googleapiclient.discovery_cache.file_cache.Cache
A base abstract cache class.
| Method | get |
Gets the content from the memcache with a given key. |
| Method | set |
Sets the given key and content in the cache. |
overridden in
googleapiclient.discovery_cache.appengine_memcache.Cache, googleapiclient.discovery_cache.file_cache.CacheGets the content from the memcache with a given key.
| Parameters | |
| url | string, the key for the cache. |
| Returns | |
| object, the value in the cache for the given key, or None if the key is not in the cache. | |
overridden in
googleapiclient.discovery_cache.appengine_memcache.Cache, googleapiclient.discovery_cache.file_cache.CacheSets the given key and content in the cache.
| Parameters | |
| url | string, the key for the cache. |
| content | string, the discovery document. |