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.
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.