DatumSourceMetadataClearCache topic¶
This instruction asks a node to remove any cached datum metadata for a set if source IDs, so the node is forced to reload that metadata from SolarNetwork. Nodes cache datum metadata so they do not need to repeatedly load it from SolarNetwork. After you update metadata, you can issue this instruction to get the node to pick up the changes.
{
"nodeId": 123,
"topic": "DatumSourceMetadataClearCache",
"parameters": [
{
"name": "sourceIds",
"value": "/power/1,/power/2"
}
]
}
{
"nodeId": 123,
"topic": "DatumSourceMetadataClearCache",
"params": {
"expression": "/power/1,/power/2"
}
}
Parameters¶
The following instruction parameters are available:
| Parameter | Description |
|---|---|
executionDate |
A future execution date. See deferred instructions for more details. |
sourceIds |
A comma-delimited list of source IDs to clear cached metadata for. |
Result¶
A Completed state indicates the cache was cleared successfully.