# Class: modelit.mapviewer.Cache (Abstract)

### Extends: matlab.mixin.SetGet & handle

## DESCRIPTION:

Cache to store items retrieved with the modelit.concurrent.ThreadPoolExecutor.

#

## Properties

No properties

# Public Abstract Method: add

## DESCRIPTION:

modelit.mapviewer.Cache/add is a function. obj = modelit.mapviewer.Cache

# Public Abstract Method: remove

## DESCRIPTION:

modelit.mapviewer.Cache/remove is a function. obj = modelit.mapviewer.Cache

# Public Abstract Method: get

## DESCRIPTION:

GET Get MATLAB object properties. V = GET(H, 'PropertyName') returns the value of the specified property for the MATLAB object with handle H. If H is an array of handles, GET returns an M-by-1 cell array of values, where M is equal to length(H). If 'PropertyName' is replaced by a 1-by-N or N-by-1 cell array of strings containing property names, GET returns an M-by-N cell array of values. For non-scalar H, if 'PropertyName' is a dynamic property, GET returns a value only if the property exists in all objects of the array. V = GET(H, 'InexactPropertyName') returns the value of the specified property for the MATLAB object with handle H. GET matches partial and case-insensitive names that are not ambiguous. Inexact name matching applies only to class properties. Dynamic properties require exact name matches. V = GET(H) returns a structure in which each field name is the name of a user-gettable property of H and each field contains the value of that property. If H is non-scalar, GET returns a struct array with dimensions M-by-1, where M = numel(H). If H is non-scalar, GET does not return dynamic properties. GET(H) displays the names of all user-gettable properties and their current values for the MATLAB object with handle H. The class can override the GETDISP method to control how this information is displayed. H must be scalar. See also GET, modelit.mapviewer.Cache, modelit.mapviewer.Cache/GETDISP, HANDLE Help for modelit.mapviewer.Cache/get is inherited from superclass matlab.mixin.SetGet

# Public Method: clear

## DESCRIPTION:

Clear all the items in the Cache.

## CALL:

clear(obj)

# Public Method: purge

## DESCRIPTION:

Remove all expired items from the Cache and limit the total items to maxItems.

## CALL:

purge(obj)

# Public Method: Cache

## DESCRIPTION:

Cache to store items retrieved with the modelit.concurrent.ThreadPoolExecutor. modelit.mapviewer.Cache Properties: No properties modelit.mapviewer.Cache Methods: add - (Abstract) remove - (Abstract) get - (Abstract) GET Get MATLAB object properties. clear - Clear all the items in the Cache. purge - Remove all expired items from the Cache and limit the total items to the maxItems. Cache - Cache to store items retrieved with the Documentation for modelit.mapviewer.Cache/Cache doc modelit.mapviewer.Cache