The cache settings for the CMPv2 transactions.

Maximum Cache Size

The maximum number of entries supported by the API cache. Setting this parameter to 0 disables the cache -for example:

maximumSize: 0
initialCapacity: 0

Mandatory: Yes

Initial Cache Capacity

The initial number of entries in the API cache.

Mandatory: Yes.

Expire After Value

The number of minutes before removing an entry from the API cache. For example, to remove the entries after 5 minutes:

expireAfterAccess: true
expireAfterValue: 5

Mandatory: No. This optional parameter defaults to 60.

Expire After Time Unit

Time unit for the expiry period. This parameter supports the following Java TimeUnit enum constants:

  • SECONDS
  • MINUTES
  • HOURS

Mandatory : Yes