Package com.lightbend.cinnamon.backend
Class Backend
- java.lang.Object
-
- com.lightbend.cinnamon.backend.Backend
-
public class Backend extends java.lang.Object
Backend
abstraction for creating metric or event backends.
-
-
Constructor Summary
Constructors Constructor Description Backend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<EventBackend>
createEventBackends()
Override this method to create any EventBackends.java.util.List<MetricBackend>
createMetricBackends()
Override this method to create any MetricBackends.void
shutdown()
Override this method to clean up on shutdown.void
start()
Override this method to start things after creation.
-
-
-
Method Detail
-
createEventBackends
public java.util.List<EventBackend> createEventBackends()
Override this method to create any EventBackends.- Returns:
- list of
EventBackend
-
createMetricBackends
public java.util.List<MetricBackend> createMetricBackends()
Override this method to create any MetricBackends.- Returns:
- list of
MetricBackend
-
start
public void start()
Override this method to start things after creation.
-
shutdown
public void shutdown()
Override this method to clean up on shutdown.
-
-