Dynamic maps

When you create a simple data grid, a default map with the same name is created by default. You can also use map templates to create additional maps as your application requires.

Map templates

Table 1. Dynamic map templates
Map Template Description
*.NONE Specifies a map with no time to live (TTL) expiration.
*.LUT Specifies a map in which the entries are expired based on the last update time of the entry. The default TTL is one hour.
*.LAT A map in which the entries are expired based on the last access time of the entry. The default TTL is one hour.

Dynamic map creation

The first operation to a map that matches the map template but has not yet been created results in the creation of a new dynamic map. As an example, to create a new dynamic map using last update time named MyMap.LUT, you might use the following URI in a GET, DELETE, or POST operation:
http://myxc10.ibm.com/resources/datacaches/MyDataGrid/MyMap.LUT/a.key