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.

Mandatory: No. 

Initial Cache Capacity

The initial number of entries in the API cache.

Mandatory: No. 

Expire After Value

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

expire-after-access: true
expire-after-value: 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