MetricReaderInterface
MetricReaderInterface.php
:
18
Interface
Point reads of metric values for one entity. Nothing is recomputed, but a derived value can change between two reads with no write in between.
Methods¶
find()
¶
MetricReaderInterface.php
:
23
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $metricId | string | - | - |
| $entityType | string | - | - |
| $entityId | string | - | - |
Return values
MetricResult|null
Tags
findAllForEntity()
¶
MetricReaderInterface.php
:
30
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $entityType | string | - | - |
| $entityId | string | - | - |
Return values
array<string|int, MetricResult>