# Class: modelit.mapviewer.CacheItem

## DESCRIPTION:

An item that can be stored in a modelit.mapviewer.Cache.

#

## Properties

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 |

# Public Method: CacheItem

## DESCRIPTION:

modelit.mapviewer.CacheItem constructor.

## CALL:

obj = CacheItem(key, data, maxage) Documentation for modelit.mapviewer.CacheItem/CacheItem doc modelit.mapviewer.CacheItem

# Public Method: hasExpired

## DESCRIPTION:

Returns true if this CacheItem has expired.

## CALL:

obj = CacheItem(key, data, maxage)