An item that can be stored in a modelit.mapviewer.Cache.
| created | datenum indicating when the CacheItem was created | |
| data | Array with numbers with the data | |
| expires | datenum indicating when the CacheItem expires | |
| key | Unique key identyfing the CacheItem | |
| maxage | datenum indicating the maximum age of the CacheItem |
modelit.mapviewer.CacheItem constructor.
obj = CacheItem(key, data, maxage) Documentation for modelit.mapviewer.CacheItem/CacheItem doc modelit.mapviewer.CacheItem
Returns true if this CacheItem has expired.
obj = CacheItem(key, data, maxage)