public class MetricsCollector extends Object
NotificationDispatcher and updates the database.| Constructor and Description |
|---|
MetricsCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectMetrics(TriggerMetricCollectionEvent event)
Receives variant metrics and update the push message information in a database.
|
public void collectMetrics(@Observes
TriggerMetricCollectionEvent event)
throws javax.jms.JMSException
VariantCompletedEvent CDI event.
Additionally when a variant was completed and there are no more variants to be completed for this variant,
the PushMessageCompletedEvent CDI event is fired.event - TriggerMetricCollectionEvent event dequeued from JMSjavax.jms.JMSException - when JMS provider fails to dequeue messages that MetricsCollector pullsCopyright © 2017 JBoss by Red Hat. All Rights Reserved.