Attributes

Define the GridCache Configuration Attributes in schemas. Then, apply the attributes to newly created regions. You can define the following types of attributes:

TimeToLive Regions can define a time-to-live attribute. Data that is stored in the cache for longer than the time-to-live attribute is evicted, and you must reload that data from the backend datastore. Data in local caches is evicted locally. Data for distributed regions is evicted from the distributed cache, and the Broker and all clients delete that data if they have cached it locally.
Local/GlobalLoader Loads data from a backend datastore. See Cache Loaders, below.
KeepAlive Specifies how long the client keeps the region and its keys in its local cache after the last reference to the region goes away.