[Java programming language only]

Configuring evictors with XML files

In addition to programmatically setting a time-to-live (TTL) evictor with the BackingMap interface, you can use an XML file to configure an evictor on each BackingMap instance.

Before you begin

Before you begin, decide on the type of evictor you are going to use: Set the evictor settings before you start your container servers.

Procedure

[Version 8.6 and later]

What to do next

If you want to configure the TTL metadata to be updated when the near cache is used, see Configuring the near cache to update the LAST_ACCESS_TIME value for the TTL evictor in the data grid.