You are here

protected function DatabaseAggregatorSensorPluginBase::getTimeIntervalValue in Monitoring 8

Gets the time interval value.

Return value

int Time interval value.

6 calls to DatabaseAggregatorSensorPluginBase::getTimeIntervalValue()
ContentEntityAggregatorSensorPlugin::getEntityQuery in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Builds the entity query for verbose output.
ContentEntityAggregatorSensorPlugin::getEntityQueryAggregate in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Builds the entity aggregate query.
DatabaseAggregatorSensorPlugin::getAggregateQuery in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Builds simple aggregate query over one db table.
DatabaseAggregatorSensorPlugin::getHistoryQuery in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Builds history query over one db table.
DatabaseAggregatorSensorPlugin::getQuery in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Builds the query for verbose output.

... See full list

File

src/SensorPlugin/DatabaseAggregatorSensorPluginBase.php, line 69
Contains \Drupal\monitoring\SensorPlugin\DatabaseAggregatorSensorPluginBase.

Class

DatabaseAggregatorSensorPluginBase
Base class for database aggregator sensors.

Namespace

Drupal\monitoring\SensorPlugin

Code

protected function getTimeIntervalValue() {
  return $this->sensorConfig
    ->getTimeIntervalValue();
}