Keeps track of the values produced by the source and produce the difference between the last two observed values when calling get.
Utility class for creating instances from a FQCN, see [1] for the original source.
Utility class for creating instances from a FQCN, see [1] for the original source.
It uses reflection to turn fully-qualified class names into Class[_]
objects and creates instances from there
using getDeclaredConstructor()
and invoking that.
[1] https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/actor/ReflectiveDynamicAccess.scala
Implementations of this interface encapsulate whatever state is necessary to properly handle de-registration from the component that returned the registration.
For small code blocks that don't need to be run on a separate thread.
Utility class to create a Map[String, String] encoding all the Environment information based on the provided Config.
Utility class to create a Map[String, String] encoding all the Environment information based on the provided Config. The Config instance is expected to have the following members:
This utility is meant to be used mostly by reporter modules.
Keeps track of the values produced by the source and produce the difference between the last two observed values when calling get. This class assumes the source increases monotonically and any produced value that violates this assumption will be dropped.