Skip to main content
Version: 4.0.0

CacheState.mustInsertOrUpdate

The mustInsertOrUpdate method of the CacheState interface returns true if a fresh cache item was not found, and this transaction client is expected to insert a new item or update a stale item.

Syntax​

mustInsertOrUpdate()

Parameters​

None.

Return value​

A boolean which represents whether a fresh cached item was found not.