Cache to store items retrieved with the modelit.concurrent.ThreadPoolExecutor.
MemoryCache constructor.
obj = MemoryCache() Documentation for modelit.mapviewer.MemoryCache/MemoryCache doc modelit.mapviewer.MemoryCache
Add an item to the Cache.
add(obj, item)
Remove all expired items from the Cache and limit the total items to the maxItems.
purge(obj)
Get an item from the Cache by using its key.
item = get(obj, key)
Clear all the items in the Cache.
item = getCacheItem(obj, key)
obj | any | <modelit.mapviewer.MemoryCache> |
Remove an item with the specified key from the Cache.
remove(obj, key)
Get the index of an item in the Cache by using its key.
remove(obj, key)