public class StatisticalSampleSender extends AbstractSampleSender implements Serializable
Constructor and Description |
---|
StatisticalSampleSender()
Deprecated.
only for use by test code
|
Modifier and Type | Method and Description |
---|---|
void |
sampleOccurred(SampleEvent e)
Stores sample events until either a time or sample threshold is
breached.
|
void |
testEnded(String host)
Checks if any sample events are still present in the sampleStore and
sends them to the listener.
|
isClientConfigured, testEnded
@Deprecated public StatisticalSampleSender()
public void testEnded(String host)
testEnded
in interface SampleSender
host
- the hostname that the test has ended on.public void sampleOccurred(SampleEvent e)
sampleOccurred
in interface SampleSender
e
- a Sample EventCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.