Class InfluxdbSystemHistorian

    • Constructor Detail

      • InfluxdbSystemHistorian

        @Inject
        public InfluxdbSystemHistorian​(@Named("Uuid")
                                       java.util.UUID autoScalerUuid,
                                       @Named("AutoScalerId")
                                       java.lang.String autoScalerId,
                                       org.slf4j.Logger logger,
                                       java.util.concurrent.ScheduledExecutorService executor,
                                       com.elastisys.scale.commons.eventbus.EventBus eventBus)
    • Method Detail

      • start

        public void start()
                   throws java.lang.IllegalStateException
        Specified by:
        start in interface com.elastisys.autoscaler.core.api.Service<InfluxdbSystemHistorianConfig>
        Throws:
        java.lang.IllegalStateException
      • getStatus

        public com.elastisys.autoscaler.core.api.types.ServiceStatus getStatus()
        Specified by:
        getStatus in interface com.elastisys.autoscaler.core.api.Service<InfluxdbSystemHistorianConfig>
      • onEvent

        public void onEvent​(com.elastisys.autoscaler.core.monitoring.systemhistorian.api.types.SystemMetricEvent event)
        Specified by:
        onEvent in interface com.elastisys.autoscaler.core.monitoring.systemhistorian.api.SystemHistorian<InfluxdbSystemHistorianConfig>
      • flush

        public void flush()
                   throws com.elastisys.autoscaler.core.monitoring.systemhistorian.api.SystemHistorianFlushException
        Specified by:
        flush in interface com.elastisys.autoscaler.core.monitoring.systemhistorian.api.SystemHistorian<InfluxdbSystemHistorianConfig>
        Throws:
        com.elastisys.autoscaler.core.monitoring.systemhistorian.api.SystemHistorianFlushException