public abstract class AbstractUpdater extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractUpdater.AssertionContext |
| Modifier and Type | Field and Description |
|---|---|
protected ListenerCollectorConfig |
config |
static String |
NULL |
protected static JMeterCollectorRegistry |
registry |
| Constructor and Description |
|---|
AbstractUpdater(ListenerCollectorConfig cfg)
All subclasses should have this and only this constructor signature.
|
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
labelValues(AbstractUpdater.AssertionContext ctx) |
protected String[] |
labelValues(org.apache.jmeter.samplers.SampleEvent event)
Helper function to extract the label values from the Sample Event.
|
abstract void |
update(org.apache.jmeter.samplers.SampleEvent e)
Updates the collector it was instantiated with with the given event e.
|
public static String NULL
protected ListenerCollectorConfig config
protected static final JMeterCollectorRegistry registry
public AbstractUpdater(ListenerCollectorConfig cfg)
cfg - the configuration of the collectorpublic abstract void update(org.apache.jmeter.samplers.SampleEvent e)
e - protected String[] labelValues(org.apache.jmeter.samplers.SampleEvent event)
event - protected String[] labelValues(AbstractUpdater.AssertionContext ctx)
Copyright © 2019. All rights reserved.