Flags

lookup-state

The status of this lookup (and potential transaction)

flags lookup-state {
  found,
  usable,
  stale,
  must-insert-or-update,
  usable-if-error,
}

Flags

FlagDescription
foundA cached object was found
usableThe cached object is valid to use (implies found)
staleThe cached object is stale (but may or may not be valid to use)
must-insert-or-updateThis client is requested to insert or revalidate an object
usable-if-errorThe cached object is only usable if revalidation has failed. If usable-if-error is set, either must-insert-or-update will be set (in which case the client must revalidate before use) or usable will be set (in which case revalidation has already failed).