ScheduledAction

trait ScheduledAction extends Module

Modules implementing this will have a receive a scheduled call to their run method in a fixed interval. The call interval is controlled by the kamon.modules.{module-name}.interval setting, or passed in programmatically when adding a new scheduled action via Kamon.addScheduledAction(...)

trait Module
class Object
trait Matchable
class Any

Value members

Abstract methods

def run(): Unit

Inherited methods

def reconfigure(newConfig: Config): Unit

Signals that a new configuration object has been provided to Kamon. Modules should ensure that their internal settings are in sync with the provided configuration.

Signals that a new configuration object has been provided to Kamon. Modules should ensure that their internal settings are in sync with the provided configuration.

Inherited from:
Module
def stop(): Unit

Signals that the module should be stopped and all acquired resources, if any, should be released.

Signals that the module should be stopped and all acquired resources, if any, should be released.

Inherited from:
Module