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

nl.pragmasoft.pekko.sensors.metered.MeteredDispatcher.scala Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package nl.pragmasoft.pekko.sensors.metered

import nl.pragmasoft.pekko.sensors.DispatcherMetrics
import org.apache.pekko.dispatch.Dispatcher
import org.apache.pekko.sensors.metered.MeteredDispatcherInstrumentation

class MeteredDispatcher(settings: MeteredDispatcherSettings)
    extends Dispatcher(
      settings._configurator,
      settings.id,
      settings.throughput,
      settings.throughputDeadlineTime,
      executorServiceFactoryProvider = settings.executorServiceFactoryProvider,
      shutdownTimeout = settings.shutdownTimeout
    )
    with MeteredDispatcherInstrumentation {
  protected override val actorSystemName: String    = settings.name
  protected override val metrics: DispatcherMetrics = settings.metrics
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy