public abstract class Producer extends java.lang.Object
Producerabstraction for creating custom metric and event producers.
The implementation class should accept a
parameter, which can be used to add custom metrics and events to be reported to all configured
Config can be accessed using
Loggers can be
backends.getLoggingProvider().get(<class or name>). Any other classes or
resources will need to be accessed statically.
|Constructor and Description|
|Modifier and Type||Method and Description|
Lifecycle method called when the Cinnamon
public abstract void stop()
Backendsare stopped, to enable cleanup of any resources acquired by the producer.
Cinnamon API. Copyright (c) 2015–2020 Lightbend.