[Index]

Model: data/CacheControlPolicy

Defines rules regarding when data is retrieved from cache or directly from a device

Model Details

Title Description Details
Name * A textual identifier for this instance.
  • Field Name: name
  • Type: String
Description A summary of the purpose of this policy.
  • Field Name: description
  • Type: String
Assigned Models A list of models that must specifically use this cache control policy.
  • Field Name: assigned_models.[n]
  • Type: Array
Model Type * The model type of the assigned model
  • Field Name: assigned_models.[n].model_type
  • Type: String
  • Target: data
  • Target attr: name
  • Format: uri
Model Attribute * The name of the attribute that is used to identify the assigned data model
  • Field Name: assigned_models.[n].model_attr
  • Type: String
  • Choices: [""]
Value * The value of the assigned model instance
  • Field Name: assigned_models.[n].value
  • Type: String
  • Choices: [""]
Default The default policy for this instance.
  • Field Name: default
  • Type: Object
Cache Policy for Reads *
  • Field Name: default.read_cache_policy
  • Type: String
  • Choices: ["Cache", "No Cache", "Manual", "Cache then Device"]
Read Before Write
  • Field Name: read_before_write.[n]
  • Type: Array
Read After Write
  • Field Name: read_after_write.[n]
  • Type: Array
Model Specific Policy overrides per model.
  • Field Name: model_specific
  • Type: Object
Overrides
  • Field Name: overrides.[n]
  • Type: Array
Model Type
  • Field Name: model_specific.overrides.[n].model_type
  • Type: String
  • Choices: [""]
Cache Policy for Reads *
  • Field Name: model_specific.overrides.[n].read_cache_policy
  • Type: String
  • Choices: ["Cache", "No Cache", "Manual", "Cache then Device"]
Read Before Write
  • Field Name: read_before_write.[n]
  • Type: Array
Read After Write
  • Field Name: read_after_write.[n]
  • Type: Array
API reference for data/CacheControlPolicy