All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.ui.db.timeseries.NoOpFEStatisticsRepository.scala Maven / Gradle / Ivy

There is a newer version: 1.17.0
Show newest version
package pl.touk.nussknacker.ui.db.timeseries

import pl.touk.nussknacker.ui.statistics.RawFEStatistics

import scala.concurrent.Future

object NoOpFEStatisticsRepository extends FEStatisticsRepository[Future] {

  override def read(): Future[RawFEStatistics] = Future.successful(RawFEStatistics.empty)

  override def write(statistics: RawFEStatistics): Future[Unit] = Future.successful(())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy